import {EAttrTypeL1, EHorsePASV} from "../../../../core/EEnum"; import SkillBase, {ActionType, ESkillQuality, ESkillType} from "../../core/SkillBase"; // 高級金聲潤玉 export default class HighJinShengRunYv extends SkillBase { constructor() { super(); this.init(); } init() { this.id = ESkillType.HighJinShengRunYv; this.name = "高級金聲潤玉"; this.icon = "jsry"; this.desc = "若對面金五行>=50, 則對自己造成的傷害減少"; this.effectDesc = "[E]若對面木五行>=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.attrDesc = "五行減傷"; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.HIGH; } }