import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 借刀殺人 export default class JieDaoShaRen extends SkillBase { constructor() { super(); this.init(); } init() { this.id = ESkillType.JieDaoShaRen; this.name = '借刀殺人'; this.icon = '1004'; this.desc = '使單個目標混亂。 '; this.particleEffect = '21103'; this.buffEffect = 'luan'; this.faXi = MagicType.Chaos; this.vecLevelExp = [300, 1700, 5300, 11900, 13000]; } getLevelData(level:number):any{ return { nTargetCnt: 1, nRound: Math.floor(3 * (1 + Math.pow(level, 0.3) * 5 / 100)) } } getDetail():string{ let stLevelData = this.getLevelData(this.curExp); return `非常巧妙的計謀,借他人之手而殺敵,使得他人進行混淆攻擊。目標人數${stLevelData.nTargetCnt}人,持續${stLevelData.nRound}個回合。 `; } }