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

29 lines
1.0 KiB
TypeScript

import { EAttrTypeL1 } from "../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
import FactionTalent from "../../../FactionTalent";
// 氣定滄海・珍藏
export default class QiDingCangHai2 extends SkillBase {
constructor() {
super();
this.id = ESkillType.QiDingCangHai2;
this.name = "氣定滄海";
this.icon = "qdch";
this.effectDesc = "釋放冰混睡忘時一定機率增加忽視,血量百分比越低機率越高";
this.effectMap = {
[EAttrTypeL1.HK_WILDFIRE]: { add: 10, index: 0 },
};
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
getDetail(info = null):string{
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
let addition = factionTalentLevel * 0.1
if(info){
addition = (1 + (info.addition / 10)) * addition;
}
return `釋放冰混睡忘時一定機率增加忽視,血量百分比越低機率越高`;
}
}