Files
pyfa/eos/effects/modifyarmorresonancepostpercent.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

9 lines
456 B
Python
Executable File

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