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

33 lines
1000 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import SkillBase, {ActionType, AffectType, EAttackType, ESkillType, MagicType} from "../core/SkillBase";
// 暗影離魂
export default class YiJiDangQian extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.YiJiDangQian;
this.name = '威眇天下';
this.icon = '31158';
this.desc = '物理攻擊3個目標';
this.faXi = MagicType.Physics;
this.atkType = EAttackType.MELEE;
this.action_type = ActionType.PASSIVE;
this.scale=AffectType.GROUP;
this.vecLevelExp = [1700, 13000];
}
getLevelData(level: number): any {
return {
nTargetCnt: Math.min(3, Math.floor(3 * (1 + Math.pow(level, 0.3) * 5 / 100))),
nRound: 1
};
}
getDetail(): string {
let stLevelData = this.getLevelData(this.curExp);
return `對隨機3個目標造成一定物理傷害虎符每次隨機攻擊時有30%機率攻擊5個目標。 `;
}
}