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

27 lines
1012 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";
import SKDataUtil from "../../../gear_2.3.4/util/SKDataUtil";
// 火系攻心・把玩
export default class HuoXiGongXin1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.HuoXiGongXin1;
this.name = "火系攻心";
this.icon = "hxgx";
this.effectDesc = "每逢2的整數倍回合火係單法傷害提升PVE常駐提高";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.LOW;
}
getDetail(info = null):string{
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
let addition = factionTalentLevel * 0.2
if(info){
addition = SKDataUtil.toDecimal2((1 + (info.addition / 10)) * addition);
}
return `每逢2的整數倍回合火係單法傷害提升PVE常駐提高`;
}
}