import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 千刃・珍藏 export default class QianRen2 extends SkillBase { constructor() { super(); this.id = ESkillType.QianRen2; this.name = "千刃"; this.icon = "qr"; this.effectDesc = "破防程度增加1"; this.effectMap = { [EAttrTypeL1.PHY_BREAK]: { 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}%`; } }