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

7 lines
326 B
Python

# Used by:
# Subsystems from group: Defensive Systems (16 of 16)
type = "passive"
def handler(fit, module, context):
for type in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.preAssignItemAttr("armor{0}DamageResonance".format(type), module.getModifiedItemAttr("passiveArmor{0}DamageResonance".format(type)))