2025-04-24 17:03:28 +08:00

29 lines
925 B
TypeScript

import { EAttrTypeL1 } from "../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
import FactionTalent from "../../../FactionTalent";
// 強鬼火・無價
export default class QiangGuiHuo3 extends SkillBase {
constructor() {
super();
this.id = ESkillType.QiangGuiHuo3;
this.name = "強鬼火";
this.icon = "qgh";
this.effectDesc = "增加強鬼火";
this.effectMap = {
[EAttrTypeL1.WILDFIRE]: { add: 15, index: 0 },
};
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}%強鬼火`;
}
}