29 lines
908 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 TieBi1 extends SkillBase {
constructor() {
super();
this.id = ESkillType.TieBi1;
this.name = "鐵壁";
this.icon = "tb";
this.effectDesc = "增加物理吸收";
this.effectMap = {
[EAttrTypeL1.PHY_GET]: { 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}%物理吸收`;
}
}