34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
|
|
|
|
// 秦思冰霧
|
|
export default class QinSiBingWu extends SkillBase{
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.QinSiBingWu;
|
|
this.name = '秦思冰霧';
|
|
this.icon = '1027';
|
|
this.desc = '使單目標進入魅惑狀態。 ';
|
|
this.particleEffect = '24125';
|
|
this.buffEffect = 'meihuo';
|
|
this.buffEffectY = 50;
|
|
this.faXi = MagicType.Charm;
|
|
this.vecLevelExp = [300, 1700, 5300, 11900, 22500];
|
|
}
|
|
|
|
getLevelData(level:number):any{
|
|
return {
|
|
nTargetCnt: 1,
|
|
nRound: Math.floor(3 * (1 + Math.pow(level, 0.35) * 5 / 100)),
|
|
nDebuff: Math.floor(1.5 * (Math.pow(level, 0.35) * 20 / 100 + 1))
|
|
}
|
|
}
|
|
|
|
getDetail():string{
|
|
let stLevelData = this.getLevelData(this.curExp);
|
|
return `冰霧怨何窮,秦絲嬌未已。減少冰混睡忘抗性${stLevelData.nDebuff}%,目標人數${stLevelData.nTargetCnt}人,持續${stLevelData.nRound}個回合。 `;
|
|
}
|
|
} |