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