import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 忘塵・把玩 export default class WangChen1 extends SkillBase { constructor() { super(); this.id = ESkillType.WangChen1; this.name = "忘塵"; this.icon = "wc"; this.effectDesc = "每次遺忘法術命中對方人物,恢復自身氣血(PVP)"; this.effectMap = { [EAttrTypeL1.HK_WILDFIRE]: { add: 7, index: 0 }, }; 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 `每次遺忘法術命中對方人物,恢復自身氣血(PVP)`; } }