Files
pyfa/eos/effects/modifyshieldresonancepassivepreassignment.py
2017-06-25 00:18:06 -04:00

9 lines
323 B
Python

# Not used by any item
type = "passive"
def handler(fit, module, context):
for type in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.preAssignItemAttr("shield{0}DamageResonance".format(type),
module.getModifiedItemAttr("passiveShield{0}DamageResonance".format(type)))