29 lines
934 B
TypeScript
Raw 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 GuiHuoBao2 extends SkillBase {
constructor() {
super();
this.id = ESkillType.GuiHuoBao2;
this.name = "鬼火暴";
this.icon = "ghb";
this.effectDesc = "增加鬼火狂暴率";
this.effectMap = {
[EAttrTypeL1.Q_WILDFIRE]: { add: 10, index: 0 },
};
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
getDetail(info = null):string{
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
let addition = factionTalentLevel * 0.2
if(info){
addition = (1 + (info.addition / 10)) * addition;
}
return `增加${addition}%鬼火狂暴率`;
}
}