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