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

27 lines
983 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 HunE1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.HunE1;
this.name = "混噩";
this.icon = "hunee";
this.effectDesc = "每次混亂法術命中對方人物恢復自身氣血PVP";
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 `每次混亂法術命中對方人物恢復自身氣血PVP`;
}
}