Files
pyfa/eos/effects/emshieldcompensationhardeningbonusgroupshieldamp.py

8 lines
355 B
Python

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