Added all new system-wide effects as postMul, removed penalty group for cases where in coincides with 'default' group (e.g. it's also postMul for turret damage mods)
9 lines
420 B
Python
9 lines
420 B
Python
# Used by:
|
|
# Modules from group: Armor Hardener (156 of 156)
|
|
type = "active"
|
|
def handler(fit, module, context):
|
|
for damageType in ("kinetic", "thermal", "explosive", "em"):
|
|
fit.ship.boostItemAttr("armor%sDamageResonance" % damageType.capitalize(),
|
|
module.getModifiedItemAttr("%sDamageResistanceBonus" % damageType),
|
|
stackingPenalties=True)
|