20 lines
528 B
TypeScript
20 lines
528 B
TypeScript
import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
|
|
|
|
// 普通攻擊
|
|
export default class NormalAttack extends SkillBase{
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.NormalAtkSkill;
|
|
this.name = '普通攻擊';
|
|
this.icon = '1001';
|
|
this.desc = '攻擊';
|
|
this.faXi = MagicType.Physics;
|
|
this.atkType = EAttackType.MELEE;
|
|
this.skillActOn = ActionOn.ALL;
|
|
}
|
|
}
|