import { EAttrTypeL1 } from "../../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase"; // 折衝禦晦 export default class SheChongYuHui extends SkillBase { constructor() { super(); this.init(); } init() { this.id = ESkillType.SheChongYuHui; this.name = "折衝禦晦"; this.icon = 'scyh'; this.desc = "增加攻擊力、抗風雷水火。"; this.effectDesc = "[A]增加攻擊力{0}%;[E]增加抗風、抗雷、抗水、抗火{1}%"; this.effectMap = { [EAttrTypeL1.ATK_PERC]: { add: 1.88, index: 0 }, [EAttrTypeL1.K_WIND]: { add: 1.75, index: 1 }, [EAttrTypeL1.K_THUNDER]: { add: 1.75, index: 2 }, [EAttrTypeL1.K_WATER]: { add: 1.75, index: 3 }, [EAttrTypeL1.K_FIRE]: { add: 1.75, index: 4 } }; this.attrDesc = "攻 抗風雷水火"; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.LOW; } }