SamsaraGame/assets/Script/ts/game/skill/high/HighYuanQuanWanHu.ts

28 lines
822 B
TypeScript
Raw Permalink Normal View History

2025-04-24 17:03:28 +08:00
import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
// 高級源泉萬斛
export default class HighYuanQuanWanHu extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighYuanQuanWanHu;
this.name = '高級源泉萬斛';
this.icon = "2002";
this.desc = '增加自身MP';
this.action_type = ActionType.PASSIVE;
}
getEffect(level:number, qinmi:number, relive:number):any{
let ret:any = {}
ret.add = Math.floor(6000 * (relive * 0.5 + 1) * (Math.pow(level, 0.5) / 10 + Math.pow(qinmi, 0.16666666666666666) * 10 / (100 + relive * 20)))
return ret;
}
getDetail():string{
return `增加召喚獸法力上限。 `;
}
}