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

29 lines
1.0 KiB
TypeScript
Raw Normal View History

2025-04-24 17:03:28 +08:00
import { EAttrTypeL1 } from "../../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
// 高級折衝禦晦
export default class HighSheChongYuHui extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighSheChongYuHui;
this.name = "高級折衝禦晦";
this.icon = 'scyh';
this.desc = "增加攻擊力、抗風雷水火。";
this.effectDesc = "[A]增加攻擊力{0}%;[E]增加抗風、抗雷、抗水、抗火{1}%";
this.effectMap = {
[EAttrTypeL1.ATK_PERC]: { add: 3.5, index: 0 },
[EAttrTypeL1.K_WIND]: { add: 3.3, index: 1 },
[EAttrTypeL1.K_THUNDER]: { add: 3.3, index: 2 },
[EAttrTypeL1.K_WATER]: { add: 3.3, index: 3 },
[EAttrTypeL1.K_FIRE]: { add: 3.3, index: 4 }
};
this.attrDesc = "攻 抗風雷水火";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}