import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 鬼火暴・無價 export default class GuiHuoBao3 extends SkillBase { constructor() { super(); this.id = ESkillType.GuiHuoBao3; this.name = "鬼火暴"; this.icon = "ghb"; this.effectDesc = "增加鬼火狂暴率"; this.effectMap = { [EAttrTypeL1.Q_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}%鬼火狂暴率`; } }