2025-04-24 17:03:28 +08:00

29 lines
1004 B
TypeScript

import { EAttrTypeL1 } from "../../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
// 天神護體
export default class TianShenHuTi extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.TianShenHuTi;
this.name = "天神護體";
this.icon = 'tsht';
this.desc = "增加氣血、抗風、抗雷、抗水、抗火。";
this.effectDesc = "[B]增加氣血{0}%;[E]增加抗風、抗雷、抗水、抗火{1}%";
this.effectMap = {
[EAttrTypeL1.HP_PERC]: { add: 1, index: 0 },
[EAttrTypeL1.K_WIND]: { add: 1, index: 1 },
[EAttrTypeL1.K_THUNDER]: { add: 1, index: 2 },
[EAttrTypeL1.K_WATER]: { add: 1, index: 3 },
[EAttrTypeL1.K_FIRE]: { add: 1, index: 4 }
};
this.attrDesc = "血 抗風雷水火";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.LOW;
}
}