import { EAttrTypeL1 } from "../../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase"; // 心如止水 export default class XinRuZhiShui extends SkillBase { constructor() { super(); this.init(); } init() { this.id = ESkillType.XinRuZhiShui; this.name = "心如止水"; this.icon = 'xrzs'; this.desc = "增加氣血、抗冰混忘。"; this.effectDesc = "[B]增加氣血{0}%;[E]增加抗封印{1}%;[E]增加抗混亂{2}%;[E]增加抗遺忘{3}%"; this.effectMap = { [EAttrTypeL1.HP_PERC]: { add: 1.38, index: 0 }, [EAttrTypeL1.K_SEAL]: { add: 1.14, index: 1 }, [EAttrTypeL1.K_CONFUSION]: { add: 1.14, index: 2 }, [EAttrTypeL1.K_FORGET]: { add: 1.14, index: 3 } }; this.attrDesc = "血 抗冰混忘"; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.LOW; } }