import SkillBase, { ActionType,ESkillQuality, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; export default class BaiBuDeYi extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.BaiBuDeYi; this.name = '百不得一'; this.icon = "10333"; this.desc = '提升召喚獸法術閃躲屬性,親密等級越高,法術躲閃越高'; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.FINAL; } 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 `提升召喚獸法術閃躲屬性,親密等級越高,法術躲閃越高`; } }