2025-04-24 17:03:28 +08:00

31 lines
1.0 KiB
TypeScript

import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
// 烈火驕陽
export default class LieHuoJiaoYang extends SkillBase {
constructor() {
super();
this.Init();
}
Init() {
this.id = ESkillType.LieHuoJiaoYang;
this.name = '烈火驕陽';
this.icon = "1011";
this.desc = '火法攻擊單目標。 ';
this.particleEffect = '22109';
this.faXi = MagicType.Fire;
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})`;
}
}