Files
pyfa/eos/effects/effect2105.py
2019-03-16 14:08:20 -04:00

11 lines
356 B
Python

# emArmorCompensationHardeningBonusGroupArmorCoating
#
# Used by:
# Skill: EM Armor Compensation
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Coating",
"emDamageResistanceBonus", skill.getModifiedItemAttr("hardeningBonus") * skill.level)