Files
pyfa/eos/effects/resistancekillerhullall.py
2014-11-06 02:22:06 +03:00

10 lines
342 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"))