import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 閑庭信步・把玩 export default class XianTingXinBu1 extends SkillBase { constructor() { super(); this.id = ESkillType.XianTingXinBu1; this.name = "閑庭信步"; this.icon = "xtxb"; this.effectDesc = "己方在場站立單位數小於7或大於9時,釋放增益法術(加攻加防加速魅惑治愈)時增強"; this.effectMap = { [EAttrTypeL1.HK_FORGET]: { add: 7, index: 0 }, }; this.action_type = ActionType.PASSIVE; this.quality = ESkillQuality.LOW; } getLevelData():any{ let factionTalentLevel = FactionTalent.Instance.factionTalentLevel; return { add: 7 + factionTalentLevel * 0.5, } } getDetail():string{ return `己方在場站立單位數小於7或大於9時,釋放增益法術(加攻加防加速魅惑治愈)時增強`; } }