import { ESkillType, EAttrTypeL1, EActionType, ESkillQuality } from "../../../role/EEnum"; import SkillBase from "../../core/SkillBase"; // 高级水到渠成 export default class HighShuiDaoQvCheng extends SkillBase { constructor() { super(); this.skill_id = ESkillType.HighShuiDaoQvCheng; this.skill_name = "高级水到渠成"; this.effectDesc = "若对方水五行>=50,则对自己造成的伤害减少{0}%"; this.effectMap = { [EAttrTypeL1.HK_WIND]: { add: 5.82, index: 0 }, [EAttrTypeL1.HK_THUNDER]: { add: 2.28, index: 0 }, [EAttrTypeL1.HK_WATER]: { add: 2.28, index: 0 }, [EAttrTypeL1.HK_FIRE]: { add: 2.28, index: 0 }, [EAttrTypeL1.HK_WILDFIRE]: { add: 2.28, index: 0 }, }; this.action_type = EActionType.PASSIVE; this.quality = ESkillQuality.HIGH; } }