Files
pyfa/eos/effects/modifyactiveshieldresonancepostpercent.py
2014-01-22 23:51:42 +04:00

9 lines
423 B
Python
Executable File

# Used by:
# Modules from group: Shield Hardener (97 of 97)
type = "active"
def handler(fit, module, context):
for damageType in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("shield" + damageType.capitalize() + "DamageResonance",
module.getModifiedItemAttr(damageType + "DamageResistanceBonus"),
stackingPenalties = True)