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

27 lines
964 B
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 ChengTianZaiWu1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.ChengTianZaiWu1;
this.name = "承天載物";
this.icon = "ctzw";
this.effectDesc = "受到傷害時一定機率減傷己方倒地單位越多概率越高每回合最多觸發3次";
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 `受到傷害時一定機率減傷己方倒地單位越多概率越高每回合最多觸發3次`;
}
}