import SkillBase, { ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 風雷湧動 export default class FengLeiYongDong extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.FengLeiYongDong; this.name = '風雷湧動'; this.icon = "1012"; this.desc = '風法攻擊單目標。 '; this.particleEffect = '22111'; this.faXi = MagicType.Wind; this.vecLevelExp = []; } getLevelData(level:number):any{ let nCurGrade = this.getCurGrade(); return { nTargetCnt: 1, Hurt: Math.floor(65 * nCurGrade * (Math.pow(level, 0.4) * 2.8853998118144273 / 100 + 1)) } } getDetail():string{ let stLevelData = this.getLevelData(this.curExp); return `利用自己身體中的能量產生強烈的有毒的風進行攻擊。目標人數${stLevelData.nTargetCnt}人。 (基礎傷害${stLevelData.Hurt})`; } }