23 lines
795 B
TypeScript
23 lines
795 B
TypeScript
import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
|
|
// 小樓夜哭
|
|
export default class XiaoLouYeKu extends SkillBase{
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.XiaoLouYeKu;
|
|
this.name = '小樓夜哭'; // 技能名字
|
|
this.icon = "2034";
|
|
this.desc = '犧牲自身法力當前值的95%,對目標造成法力傷害。 '; //技能介紹
|
|
this.particleEffect = "2034";
|
|
this.effectPos = EffectPos.BODY; //
|
|
this.atkType = EAttackType.REMOTE; //近身|遠程
|
|
this.action_type = ActionType.INITIATIVE; // 主動 被動
|
|
}
|
|
|
|
getDetail():string{
|
|
return `犧牲自身法力當前值的95%,對目標造成法力傷害。 `;
|
|
}
|
|
} |