import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 作壁上觀 export default class ZuoBiShangGuan extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.ZuoBiShangGuan; this.name = '作壁上觀'; this.icon = '1006'; this.desc = '使單個目標封印。 '; this.particleEffect = '21107'; this.buffEffect = 'bing'; this.faXi = MagicType.Seal; this.vecLevelExp = [200, 1900, 7100, 18500]; } getLevelData(level:number):any{ return { nTargetCnt: 1, nRound: Math.floor(3 * (1 + Math.pow(level, 0.3) * 7 / 100)) } } getDetail():string{ let stLevelData = this.getLevelData(this.curExp); return `以強大的異能封住對手,使其完全無法動彈,而只能作壁上觀。目標人數${stLevelData.nTargetCnt}人,持續${stLevelData.nRound}個回合。 `; } }