15 lines
544 B
Python
15 lines
544 B
Python
# moduleBonusArmoredWarfareLinkPassiveDefense
|
|
#
|
|
# Used by:
|
|
# Variations of module: Armored Warfare Link - Passive Defense I (2 of 2)
|
|
type = "gang", "active"
|
|
gangBoost = "armorResistance"
|
|
runTime = "late"
|
|
|
|
def handler(fit, module, context):
|
|
if "gang" not in context: return
|
|
for damageType in ("Em", "Thermal", "Explosive", "Kinetic"):
|
|
fit.ship.boostItemAttr("armor%sDamageResonance" % damageType,
|
|
module.getModifiedItemAttr("commandBonus"),
|
|
stackingPenalties = True)
|