29 lines
948 B
TypeScript
Raw Normal View History

2025-04-24 17:03:28 +08:00
import { EAttrTypeL1 } from "../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
import FactionTalent from "../../../FactionTalent";
// 忽忘・把玩
export default class HuWang1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.HuWang1;
this.name = "忽忘";
this.icon = "hw";
this.effectDesc = "犧牲速度,增加忽視抗遺忘";
this.effectMap = {
[EAttrTypeL1.HK_FORGET]: { add: 7, index: 0 },
};
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.LOW;
}
getDetail(info = null):string{
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
let addition = factionTalentLevel * 0.1
if(info){
addition = (1 + (info.addition / 10)) * addition;
}
return `犧牲速度,增加${addition}%忽視抗遺忘`;
}
}