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

12 lines
344 B
Python

# resistanceKillerHullAll
#
# Used by:
# Modules named like: Polarized (12 of 18)
type = "passive"
def handler(fit, module, context):
for dmgType in ('em', 'thermal', 'kinetic', 'explosive'):
tgtAttr = '{}DamageResonance'.format(dmgType)
fit.ship.forceItemAttr(tgtAttr, module.getModifiedItemAttr("resistanceKillerHull"))