32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
|
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
||
|
|
||
|
// 蘭質蕙心
|
||
|
export default class LanZhiHuiXin extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.init();
|
||
|
}
|
||
|
|
||
|
init() {
|
||
|
this.id = ESkillType.LanZhiHuiXin;
|
||
|
this.name = "蘭質蕙心";
|
||
|
this.icon = 'lzhx';
|
||
|
this.desc = "增加法力、抗混亂、抗遺忘、忽視風雷水火鬼火。";
|
||
|
this.effectDesc = "[D]增加法力{0}%;[E]增加抗混亂{1}%;[E]增加抗遺忘{2}%;[E]增加忽視風、雷、水、火、鬼火{3}%";
|
||
|
this.effectMap = {
|
||
|
[EAttrTypeL1.MP_PERC]: { add: 1.15, index: 0 },
|
||
|
[EAttrTypeL1.K_CONFUSION]: { add: 0.52, index: 1 },
|
||
|
[EAttrTypeL1.K_FORGET]: { add: 0.8, index: 2 },
|
||
|
[EAttrTypeL1.HK_WIND]: { add: 0.59, index: 3 },
|
||
|
[EAttrTypeL1.HK_THUNDER]: { add: 0.59, index: 4 },
|
||
|
[EAttrTypeL1.HK_WATER]: { add: 0.59, index: 5 },
|
||
|
[EAttrTypeL1.HK_FIRE]: { add: 0.59, index: 6 },
|
||
|
[EAttrTypeL1.HK_WILDFIRE]: { add: 0.59, index: 7 }
|
||
|
};
|
||
|
this.attrDesc = "法 抗混忘 忽視";
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.LOW;
|
||
|
}
|
||
|
|
||
|
}
|