26 lines
823 B
TypeScript
26 lines
823 B
TypeScript
|
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
||
|
|
||
|
// 後發製人
|
||
|
export default class HouFaZhiRen extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.init();
|
||
|
}
|
||
|
|
||
|
init() {
|
||
|
this.id = ESkillType.HouFaZhiRen;
|
||
|
this.name = "後發製人";
|
||
|
this.icon = "hfzr";
|
||
|
this.desc = "減少20%的速度(固定),增加攻擊力。";
|
||
|
this.effectDesc = "[M]減少{0}%的速度(固定),增加攻擊力{1}%";
|
||
|
this.effectMap = {
|
||
|
[EAttrTypeL1.SPD_PERC]: { add: -20, grade: 0, index: 0 },
|
||
|
[EAttrTypeL1.ATK_PERC]: { add: 3.45, index: 1 }
|
||
|
};
|
||
|
this.attrDesc = "減速加攻";
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.LOW;
|
||
|
}
|
||
|
|
||
|
}
|