import { EAttrTypeL1 } from "../../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase"; // 暮靄沉沉 export default class MuAiChenChen extends SkillBase { constructor() { super(); this.init(); } init() { this.id = ESkillType.MuAiChenChen; this.name = "暮靄沉沉"; this.icon = "macc"; this.desc = "減少20%的速度(固定),增加法力,忽視風雷水火鬼火。"; this.effectDesc = "[M]減少{0}%的速度(固定),增加法力{1}%;[E]增加忽視風、雷、水、火、鬼火{2}%"; this.effectMap = { [EAttrTypeL1.SPD_PERC]: { add: -20, grade: 0, index: 0 }, [EAttrTypeL1.MP_PERC]: { add: 2.49, index: 1 }, [EAttrTypeL1.HK_WIND]: { add: 0.57, index: 2 }, [EAttrTypeL1.HK_THUNDER]: { add: 0.57, index: 3 }, [EAttrTypeL1.HK_WATER]: { add: 0.57, index: 4 }, [EAttrTypeL1.HK_FIRE]: { add: 0.57, index: 5 }, [EAttrTypeL1.HK_WILDFIRE]: { add: 0.57, index: 6 } }; this.attrDesc = "減速加法 忽視"; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.LOW; } }