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

Method handler

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

Source from the content-addressed store, hash-verified

403
404 @staticmethod
405 def handler(fit, module, context, projectionRange, **kwargs):
406 # We default this to None as there are times when the source attribute doesn't exist (for example, Cap Power Relay).
407 # It will return 0 as it doesn't exist, which would nullify whatever the target attribute is
408 fit.ship.multiplyItemAttr('powerOutput', module.getModifiedItemAttr('powerOutputMultiplier', None), **kwargs)
409
410
411class Effect57(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected