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

Method handler

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

Source from the content-addressed store, hash-verified

30525
30526 @staticmethod
30527 def handler(fit, module, context, projectionRange, **kwargs):
30528 if 'projected' not in context:
30529 return
30530 if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'):
30531 return
30532 if module.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0):
30533 return
30534 fit.ship.boostItemAttr('maxVelocity', module.getModifiedItemAttr('speedFactor'),
30535 stackingPenalties=True, **kwargs)
30536
30537
30538class Effect6691(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected