import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 凌虛御風 export default class LingXvYvFeng extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.LingXvYvFeng; this.name = '凌虛御風'; this.icon = '1037'; this.effectDir = true; this.desc = '單體體法術,降低敵方單個目標傷害抵抗。 '; this.particleEffect = '25135'; // this.particleEffect = '62001'; this.faXi = MagicType.PoJia; this.scale = AffectType.SINGLE; this.effectPos = EffectPos.STAGE; // this.effectPos = EffectPos.BODY; this.vecLevelExp = [600, 5700]; } getLevelData(level:number):any{ let nCurGrade = this.getCurGrade(); return { Hurt: Math.floor(60 * nCurGrade * (Math.pow(level, 0.4) * 2.8853998118144273 / 100 + 1)) } } getDetail():string{ return `提升自身攻擊力、命中、破防概率和破防程度對敵方一個目標進行物理攻擊,2回合內可作用生效一次`; } }