SamsaraGame/assets/Script/ts/game/skill/horse/high/HighFengJiDianFei.ts

26 lines
937 B
TypeScript
Raw Normal View History

2025-04-24 17:03:28 +08:00
import {EAttrTypeL1, EHorsePASV} from "../../../../core/EEnum";
import SkillBase, {ActionType, ESkillQuality, ESkillType} from "../../core/SkillBase";
// 高級風激電飛
export default class HighFengJiDianFei extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighFengJiDianFei;
this.name = "高級風激電飛";
this.icon = "fjdf";
this.desc = "增加速度。受到攻擊時有機率進入加速狀態";
this.effectDesc = "[S]增加速度{0}%;[M]{1}%概率使對方進入減速狀態;";
this.effectMap = {
[EAttrTypeL1.SPD_PERC]: {add: 3, index: 0, rsa:"HighFengJiDianFei",pasv: EHorsePASV.Percenta},
[403]: {add: 2, index: 1, rsa:"HighFengJiDianFei",pasv: EHorsePASV.Percentb},
};
this.attrDesc = "速 攻";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}