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

29 lines
919 B
TypeScript

import { EAttrTypeL1 } from "../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
import FactionTalent from "../../../FactionTalent";
// 明鏡・把玩
export default class MingJing1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.MingJing1;
this.name = "明鏡";
this.icon = "mj";
this.effectDesc = "抗封印上限提高";
this.effectMap = {
[EAttrTypeL1.K_SEAL]: { 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}%`;
}
}