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

Method handler

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

Source from the content-addressed store, hash-verified

23468
23469 @staticmethod
23470 def handler(fit, module, context, projectionRange, **kwargs):
23471 for srcResType, tgtResType in (
23472 ('Em', 'Em'),
23473 ('Explosive', 'Explosive'),
23474 ('Kinetic', 'Kinetic'),
23475 ('Thermic', 'Thermal')
23476 ):
23477 fit.ship.multiplyItemAttr(
23478 'armor{0}DamageResonance'.format(tgtResType),
23479 1 / module.getModifiedItemAttr('mode{0}ResistancePostDiv'.format(srcResType)),
23480 stackingPenalties=True,
23481 penaltyGroup='postDiv',
23482 **kwargs)
23483
23484
23485class Effect6016(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected