MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / handler

Method handler

eos/effects.py:23271–23275  ·  view source on GitHub ↗
(fit, module, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

23269
23270 @staticmethod
23271 def handler(fit, module, context, projectionRange, **kwargs):
23272 for layer in ('armor', 'shield'):
23273 for dmgType in ('em', 'thermal', 'kinetic', 'explosive'):
23274 tgtAttr = '{}{}DamageResonance'.format(layer, dmgType.capitalize())
23275 fit.ship.forceItemAttr(tgtAttr, module.getModifiedItemAttr('resistanceKiller'), **kwargs)
23276
23277
23278class Effect5998(BaseEffect):

Callers

nothing calls this directly

Calls 2

forceItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected