12 lines
411 B
Python
12 lines
411 B
Python
# modifyShieldResonancePassivePreAssignment
|
|
#
|
|
# 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("shield{0}DamageResonance".format(type),
|
|
module.getModifiedItemAttr("passiveShield{0}DamageResonance".format(type)))
|