27 lines
874 B
TypeScript
27 lines
874 B
TypeScript
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
|
|
|
// 身如鐵石
|
|
export default class ShenRuTieShi extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.ShenRuTieShi;
|
|
this.name = "身如鐵石";
|
|
this.icon = 'srts';
|
|
this.desc = "增加氣血、抗物理、抗毒。";
|
|
this.effectDesc = "[B]增加氣血{0}%;[E]增加抗物理{1}%;[E]增加抗毒{2}%";
|
|
this.effectMap = {
|
|
[EAttrTypeL1.HP_PERC]: { add: 1.1, index: 0 },
|
|
[EAttrTypeL1.K_PHY_GET]: { add: 1.6, index: 1 },
|
|
[EAttrTypeL1.K_POISON]: { add: 1.6, index: 2 }
|
|
};
|
|
this.attrDesc = "血 抗物毒";
|
|
this.action_type = ActionType.PASSIVE;
|
|
this.quality = ESkillQuality.LOW;
|
|
}
|
|
|
|
} |