2025-04-24 17:03:28 +08:00

29 lines
1.0 KiB
TypeScript
Raw Permalink 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 SanShiGongXin3 extends SkillBase {
constructor() {
super();
this.id = ESkillType.SanShiGongXin3;
this.name = "三尸攻心";
this.icon = "ssgx";
this.effectDesc = "每逢2的整數倍回合三尸單法傷害提升PVE常駐提高";
this.effectMap = {
[EAttrTypeL1.HK_BLOODRETURN]: { add: 15, index: 0 },
};
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.FINAL;
}
getDetail(info = null):string{
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
let addition = factionTalentLevel * 0.1
if(info){
addition = (1 + (info.addition / 10)) * addition;
}
return `每逢2的整數倍回合三尸單法傷害提升PVE常駐提高`;
}
}