import SkillBase, { AffectType, EAttackType, MagicType, ESkillType } from "../core/SkillBase"; // 幻影如風 export default class HuanYingRuFeng extends SkillBase { constructor() { super(); this.init(); } init() { this.id = ESkillType.HuanYingRuFeng; this.name = '幻影如風'; this.icon = '1003'; this.desc = '物理攻擊3個目標'; this.faXi = MagicType.Physics; this.atkType = EAttackType.REMOTE; this.scale=AffectType.GROUP; this.particleEffect = '22212'; this.vecLevelExp = [1700, 13000]; } getLevelData(level: number): any { return { nTargetCnt: Math.min(3, Math.floor(3 * (1 + Math.pow(level, 0.3) * 5 / 100))), nRound: 1 }; } getDetail(): string { let stLevelData = this.getLevelData(this.curExp); return `物理攻擊${stLevelData.nTargetCnt}目標!`; } }