MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / handler

Method handler

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

Source from the content-addressed store, hash-verified

24408
24409 @staticmethod
24410 def handler(fit, module, context, projectionRange, **kwargs):
24411 for srcResType, tgtResType in (
24412 ('Em', 'em'),
24413 ('Explosive', 'explosive'),
24414 ('Kinetic', 'kinetic'),
24415 ('Thermic', 'thermal')
24416 ):
24417 fit.ship.multiplyItemAttr(
24418 '{0}DamageResonance'.format(tgtResType),
24419 1 / module.getModifiedItemAttr('mode{0}ResistancePostDiv'.format(srcResType)), **kwargs)
24420
24421
24422class Effect6152(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected