9 lines
321 B
Python
9 lines
321 B
Python
# Not used by any item
|
|
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)))
|