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

Method handler

eos/effects.py:27050–27060  ·  view source on GitHub ↗
(cls, fit, src, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

27048
27049 @classmethod
27050 def handler(cls, fit, src, context, projectionRange, **kwargs):
27051 if 'projected' not in context:
27052 return
27053 if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'):
27054 return
27055 if src.getModifiedItemAttr('{}Range'.format(cls.prefix), 0) < (projectionRange or 0):
27056 return
27057 fit.ship.increaseItemAttr(
27058 'warpScrambleStatus',
27059 src.getModifiedItemAttr('{}PointStrength'.format(cls.prefix)) * src.amount,
27060 **kwargs)
27061
27062
27063class Effect6437(BaseEffect):

Callers

nothing calls this directly

Calls 2

increaseItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected