import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 枯榮・把玩 export default class KuRong1 extends SkillBase { constructor() { super(); this.id = ESkillType.KuRong1; this.name = "枯榮"; this.icon = "kr"; this.effectDesc = "犧牲一定速度,換取忽視抗控制、忽視抗傷法"; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.LOW; } getDetail(info = null):string{ let factionTalentLevel = FactionTalent.Instance.factionTalentLevel; let addition = factionTalentLevel * 0.1 if(info){ addition = (1 + (info.addition / 10)) * addition; } return `犧牲一定速度,換取${addition}%忽視抗控制、忽視抗傷法`; } }