Files
pyfa/eos/effects/thermalshieldcompensationhardeningbonusgroupshieldamp.py
2015-11-02 20:55:23 -05:00

8 lines
370 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 Amplifier",
"thermalDamageResistanceBonus", skill.getModifiedItemAttr("hardeningBonus") * skill.level)