31 lines
1.0 KiB
TypeScript
Raw Permalink Normal View History

2025-04-24 17:03:28 +08:00
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時釋放增益法術加攻加防加速魅惑治愈時增強`;
}
}