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

27 lines
792 B
TypeScript

import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
// 高級蹣跚
export default class HighPanShan extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighPanShan;
this.name = '高級蹣跚';
this.icon = "2005";
this.desc = '減少自身SPD';
this.action_type = ActionType.PASSIVE;
}
getEffect(level: number, qinmi: number, relive: number): any {
let ret: any = {}
ret.reduce = Math.floor(50 * (relive * 0.3 + 1) * (Math.pow(level, 0.5) / 10 + Math.pow(qinmi, 0.17) * 10 / (100 + relive * 20)))
return ret;
}
getDetail(): string {
return `減少召喚獸速度上限。 `;
}
}