import SkillBase, { ActionType, AffectType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 倍道兼行 export default class BeiDaoJianXing extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.BeiDaoJianXing; this.name = '倍道兼行'; this.icon = "2004"; this.desc = '增加自身SPD'; this.action_type = ActionType.PASSIVE; } getEffect(level:number, qinmi:number, relive:number):any{ let result:any = {} result.add = Math.floor(38 * (relive * 0.3 + 1) * (Math.pow(level, 0.5) / 10 + Math.pow(qinmi, 0.16666666666666666) * 10 / (100 + relive * 20))) return result; } getDetail():string{ return `增加召喚獸速度上限。 `; } }