import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 怒濤・珍藏 export default class NuTao2 extends SkillBase { constructor() { super(); this.id = ESkillType.NuTao2; this.name = "怒濤"; this.icon = "nt"; this.effectDesc = "增加仙法、三尸、鬼火狂暴率"; this.effectMap = { [EAttrTypeL1.KB_WIND]: { add: 10, index: 0 }, [EAttrTypeL1.KB_FIRE]: { add: 10, index: 1 }, [EAttrTypeL1.KB_WATER]: { add: 10, index: 2 }, [EAttrTypeL1.KB_THUNDER]: { add: 10, index: 3 }, [EAttrTypeL1.KB_BLOODRETURN]: { add: 10, index: 4 }, [EAttrTypeL1.KB_WILDFIRE]: { add: 10, index: 5 }, }; 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}%仙法、三尸、鬼火狂暴率`; } }