26 lines
785 B
TypeScript
26 lines
785 B
TypeScript
|
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
||
|
|
||
|
// 金身不壞
|
||
|
export default class JinShenBuHuai extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.init();
|
||
|
}
|
||
|
|
||
|
init() {
|
||
|
this.id = ESkillType.JinShenBuHuai;
|
||
|
this.name = "金身不壞";
|
||
|
this.icon = 'jsbh';
|
||
|
this.desc = "增加氣血、抗震懾。";
|
||
|
this.effectDesc = "[B]增加氣血{0}%;[E]增加抗震懾{1}%";
|
||
|
this.effectMap = {
|
||
|
[EAttrTypeL1.HP_PERC]: { add: 1.5, index: 0 },
|
||
|
[EAttrTypeL1.K_DETER]: { add: 1.5, index: 1 }
|
||
|
};
|
||
|
this.attrDesc = "血 抗震懾";
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.LOW;
|
||
|
}
|
||
|
|
||
|
}
|