2025-04-24 17:03:28 +08:00

28 lines
997 B
TypeScript

import { EAttrTypeL1 } from "../../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
// 天雷怒火
export default class TianLeiNuHuo extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.TianLeiNuHuo;
this.name = "天雷怒火";
this.icon = 'tlnh';
this.desc = "增加法力、忽視抗雷、忽視抗火、忽視鬼火。";
this.effectDesc = "[D]增加法力{0}%;[E]增加忽視抗雷{1}%;[E]增加忽視抗火{2}%;[E]增加忽視鬼火{3}%";
this.effectMap = {
[EAttrTypeL1.MP_PERC]: { add: 0.44, index: 0 },
[EAttrTypeL1.HK_THUNDER]: { add: 1.46, index: 1 },
[EAttrTypeL1.HK_FIRE]: { add: 1.46, index: 2 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 1.12, index: 3 }
};
this.attrDesc = "法 忽視";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.LOW;
}
}