SamsaraGame/assets/Script/ts/game/skill/ofuda/XianTingXinBu3.ts
2025-04-24 17:03:28 +08:00

31 lines
1.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { EAttrTypeL1 } from "../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
import FactionTalent from "../../../FactionTalent";
// 閑庭信步・無價
export default class XianTingXinBu3 extends SkillBase {
constructor() {
super();
this.id = ESkillType.XianTingXinBu3;
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時釋放增益法術加攻加防加速魅惑治愈時增強`;
}
}