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