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

Method handler

eos/effects.py:27511–27515  ·  view source on GitHub ↗
(fit, src, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

27509
27510 @staticmethod
27511 def handler(fit, src, context, projectionRange, **kwargs):
27512 for dmgType in ('em', 'thermal', 'kinetic', 'explosive'):
27513 fit.ship.multiplyItemAttr('{}DamageResonance'.format(dmgType),
27514 src.getModifiedItemAttr('hull{}DamageResonance'.format(dmgType.title())),
27515 stackingPenalties=True, penaltyGroup='postMul', **kwargs)
27516
27517
27518class Effect6485(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected