Files
pyfa/eos/effects/effect2041.py
2019-03-16 14:08:20 -04:00

14 lines
493 B
Python

# modifyArmorResonancePostPercent
#
# Used by:
# Modules from group: Armor Coating (202 of 202)
# Modules from group: Armor Plating Energized (187 of 187)
type = "passive"
def handler(fit, module, context):
for type in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("armor%sDamageResonance" % type.capitalize(),
module.getModifiedItemAttr("%sDamageResistanceBonus" % type),
stackingPenalties=True)