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

Method handler

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

Source from the content-addressed store, hash-verified

27470
27471 @staticmethod
27472 def handler(fit, module, context, projectionRange, **kwargs):
27473 if 'projected' not in context:
27474 return
27475 if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'):
27476 return
27477 fit.ship.boostItemAttr('maxTargetRange', module.getModifiedItemAttr('maxTargetRangeBonus'),
27478 stackingPenalties=True, **kwargs)
27479 fit.ship.boostItemAttr('scanResolution', module.getModifiedItemAttr('scanResolutionBonus'),
27480 stackingPenalties=True, **kwargs)
27481
27482
27483class Effect6482(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected