import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 袖裡乾坤 export default class XiuLiQianKun extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.XiuLiQianKun; this.name = '袖裡乾坤'; this.icon = '1016'; this.effectDir = true; this.desc = '風法攻擊多目標。 '; this.particleEffect = '22212'; this.faXi = MagicType.Wind; this.scale = AffectType.GROUP; this.effectPos = EffectPos.STAGE; this.vecLevelExp = [600, 5700]; } getLevelData(level:number):any{ let nCurGrade = this.getCurGrade(); return { nTargetCnt: Math.min(5, Math.floor(3 * (1 + Math.pow(level, 0.3) * 5 / 100))), Hurt: Math.floor(60 * nCurGrade * (Math.pow(level, 0.4) * 2.8853998118144273 / 100 + 1)) } } getDetail():string{ let stLevelData = this.getLevelData(this.curExp); return `鎮元大仙的絕技,乾坤袖一抖就令天地動容,風雲變色,傷人於無形。目標人數${stLevelData.nTargetCnt}人。 (基礎傷害${stLevelData.Hurt})`; } }