30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
|
|
|
// 萬劫不復
|
|
export default class WanJieBuFu extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.WanJieBuFu;
|
|
this.name = "萬劫不復";
|
|
this.icon = 'wjbf';
|
|
this.desc = "增加法力、忽視上風雷水火鬼火。";
|
|
this.effectDesc = "[D]增加法力{0}%;[E]增加忽視風、雷、水、火、鬼火{1}%";
|
|
this.effectMap = {
|
|
[EAttrTypeL1.MP_PERC]: { add: 0.88, index: 0 },
|
|
[EAttrTypeL1.HK_WIND]: { add: 1.27, index: 1 },
|
|
[EAttrTypeL1.HK_THUNDER]: { add: 1.27, index: 2 },
|
|
[EAttrTypeL1.HK_WATER]: { add: 1.27, index: 3 },
|
|
[EAttrTypeL1.HK_FIRE]: { add: 1.27, index: 4 },
|
|
[EAttrTypeL1.HK_WILDFIRE]: { add: 1.27, index: 5 }
|
|
};
|
|
this.attrDesc = "法 忽視";
|
|
this.action_type = ActionType.PASSIVE;
|
|
this.quality = ESkillQuality.LOW;
|
|
}
|
|
|
|
} |