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

Method handler

eos/effects.py:2219–2223  ·  view source on GitHub ↗
(fit, container, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

2217
2218 @staticmethod
2219 def handler(fit, container, context, projectionRange, **kwargs):
2220 level = container.level if 'skill' in context else 1
2221 penalized = False if 'skill' in context or 'implant' in context or 'booster' in context else True
2222 fit.ship.boostItemAttr('scanResolution', container.getModifiedItemAttr('scanResolutionBonus') * level,
2223 stackingPenalties=penalized, **kwargs)
2224
2225
2226class Effect706(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected