Files
pyfa/eos/effects/modifyshieldresonancepostpercent.py
2014-07-30 21:23:27 -04:00

8 lines
399 B
Python

# Used by:
# Modules from group: Shield 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)