30 lines
1008 B
TypeScript
Raw Permalink Normal View History

2025-04-24 17:03:28 +08:00
import { EAttrTypeL1 } from "../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
import FactionTalent from "../../../FactionTalent";
// 破軍・無價
export default class PoJun3 extends SkillBase {
constructor() {
super();
this.id = ESkillType.PoJun3;
this.name = "破軍";
this.icon = "pj";
this.effectDesc = "增加破防概率、破防程度";
this.effectMap = {
[EAttrTypeL1.PHY_BREAK]: { add: 15, index: 0 },
[EAttrTypeL1.PHY_BREAK_PROB]: { add: 15, index: 1 },
};
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.FINAL;
}
getDetail(info = null):string{
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
let addition = factionTalentLevel * 0.3
if(info){
addition = (1 + (info.addition / 10)) * addition;
}
return `增加${addition}%破防概率、破防程度`;
}
}