Files
pyfa/eos/effects/thermalshieldcompensationhardeningbonusgroupshieldamp.py
2016-06-19 12:40:49 -04:00

8 lines
381 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)