Files
pyfa/eos/effects/thermalshieldcompensationhardeningbonusgroupshieldamp.py

12 lines
418 B
Python

# thermalShieldCompensationHardeningBonusGroupShieldAmp
#
# Used by:
# Skill: Thermal Shield Compensation
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Resistance Amplifier",
"thermalDamageResistanceBonus",
skill.getModifiedItemAttr("hardeningBonus") * skill.level)