Files
pyfa/eos/effects/gangarmorhardening.py
2016-02-07 23:46:20 -05:00

15 lines
519 B
Python

# gangArmorHardening
#
# 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)