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

27 lines
1014 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 ShuiXiGongXin1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.ShuiXiGongXin1;
this.name = "水系攻心";
this.icon = "sxgx";
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常駐提高`;
}
}