SamsaraGame/assets/Script/ts/game/skill/horse/high/HighXinRuZhiShui.ts
2025-04-24 17:03:28 +08:00

28 lines
981 B
TypeScript

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