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

28 lines
1.0 KiB
TypeScript
Raw Permalink 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 HighXingFengZuoLang extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighXingFengZuoLang;
this.name = "高級興風作浪";
this.icon = 'xfzl';
this.desc = "增加法力、忽視抗風、忽視抗水、忽視鬼火。";
this.effectDesc = "[D]增加法力{0}%;[E]增加忽視抗風{1}%;[E]增加忽視抗水{2}%;[E]增加忽視鬼火{3}%";
this.effectMap = {
[EAttrTypeL1.MP_PERC]: { add: 0.77, index: 0 },
[EAttrTypeL1.HK_WIND]: { add: 2.48, index: 1 },
[EAttrTypeL1.HK_WATER]: { add: 2.48, index: 2 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 1.91, index: 3 }
};
this.attrDesc = "法 忽風水鬼火";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}