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

Method handler

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

Source from the content-addressed store, hash-verified

272
273 @staticmethod
274 def handler(fit, module, context, projectionRange, **kwargs):
275 if 'projected' not in context:
276 return
277 if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'):
278 return
279 if module.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0):
280 return
281 fit.ship.increaseItemAttr('warpScrambleStatus', module.getModifiedItemAttr('warpScrambleStrength'), **kwargs)
282
283
284class Effect46(BaseEffect):

Callers

nothing calls this directly

Calls 2

increaseItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected