26 lines
913 B
TypeScript
26 lines
913 B
TypeScript
import { EAttrTypeL1 } from "../../../../core/EEnum";
|
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
|
|
|
|
// 破釜沉舟
|
|
export default class PoFuChenZhou extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
private init() {
|
|
this.id = ESkillType.PoFuChenZhou;
|
|
this.name = "破釜沉舟";
|
|
this.icon = "pfcz";
|
|
this.desc = "增加攻擊力、狂暴率、破防程度。";
|
|
this.effectDesc = "[A]增加攻擊力{0}%;[E]增加狂暴率{1}%;[E]增加破防程度{2}%";
|
|
this.effectMap = {
|
|
[EAttrTypeL1.ATK_PERC]: { add: 1.22, index: 0 },
|
|
[EAttrTypeL1.PHY_DEADLY]: { add: 1.14, index: 1 },
|
|
[EAttrTypeL1.PHY_BREAK]: { add: 1.77, index: 2 },
|
|
};
|
|
this.attrDesc = "攻 狂暴率 破防";
|
|
this.action_type = ActionType.PASSIVE;
|
|
this.quality = ESkillQuality.LOW;
|
|
}
|
|
} |