25 lines
869 B
TypeScript
25 lines
869 B
TypeScript
|
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
||
|
|
||
|
// 高級泣血枕戈
|
||
|
export default class HighQiXueZhenGe extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.init();
|
||
|
}
|
||
|
|
||
|
init() {
|
||
|
this.id = ESkillType.HighQiXueZhenGe;
|
||
|
this.name = "高級泣血枕戈";
|
||
|
this.icon = "qxzg";
|
||
|
this.desc = "減少自身氣血最大值25%(固定),增加攻擊力";
|
||
|
this.effectDesc = "[M]減少自身氣血最大值{0}%(固定),增加{1}%的攻擊力";
|
||
|
this.effectMap = {
|
||
|
[EAttrTypeL1.HP_PERC]: { add: -25, grade: 0, index: 0 },
|
||
|
[EAttrTypeL1.ATK_PERC]: { add: 4.45, index: 1 },
|
||
|
};
|
||
|
this.attrDesc = "減血加攻";
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.HIGH;
|
||
|
}
|
||
|
}
|