32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
|
|
// 白浪滔天
|
|
export default class BaiLangTaoTian extends SkillBase{
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.BaiLangTaoTian;
|
|
this.name = '白浪滔天';
|
|
this.icon = '1036';
|
|
this.effectDir = true;
|
|
this.desc = '單體法術,降低敵方目標法術命中。 ';
|
|
this.particleEffect = '25133';
|
|
this.faXi = MagicType.ZhengJi;
|
|
this.scale = AffectType.SINGLE;
|
|
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 `提升自身命中、破防概率與破防程度對敵方單位進行物理攻擊,降低目標法術命中,多回合中可作用生效一次。 `;
|
|
}
|
|
} |