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

13 lines
448 B
Python

# modifyShieldResonancePostPercent
#
# Used by:
# Modules from group: Shield Resistance Amplifier (88 of 88)
type = "passive"
def handler(fit, module, context):
for type in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("shield%sDamageResonance" % type.capitalize(),
module.getModifiedItemAttr("%sDamageResistanceBonus" % type),
stackingPenalties=True)