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