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

28 lines
860 B
TypeScript

import SkillBase, { ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
export default class GongXingTianFa extends SkillBase{
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.GongXingTianFa;
this.name = '恭行天罰';
this.icon = "2006";
this.desc = '用神威的景象激發自身的戰意。召喚獸自身提高命中和狂暴率。 ';
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.16666666666666666) * 10 / (100 + relive * 20)))
return ret;
}
getDetail():string{
return `召喚獸自身命中率和狂暴率。 `;
}
}