SamsaraGame/assets/Script/ts/game/skill/low/ChaoMingDianChe.ts

28 lines
841 B
TypeScript
Raw Normal View History

2025-04-24 17:03:28 +08:00
import SkillBase, { ActionType, AffectType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
// 潮鳴電掣
export default class ChaoMingDianChe extends SkillBase{
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.ChaoMingDianChe;
this.name = '潮鳴電掣';
this.icon = "3005";
this.desc = '倍道兼行加強版,增加召喚獸速度。 ';
this.action_type = ActionType.PASSIVE;
}
getEffect(level:number, qinmi:number, relive:number):any{
let ret:any = {}
ret.add = Math.floor(75 * (relive * 0.3 + 1) * (Math.pow(level, 0.5) / 10 + Math.pow(qinmi, 0.16666666666666666) * 10 / (100 + relive * 20)))
return ret;
}
getDetail():string{
return `使召喚獸如潮鳴電掣一般,增加召喚獸速度`;
}
}