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

Method handler

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

Source from the content-addressed store, hash-verified

24982
24983 @staticmethod
24984 def handler(fit, module, context, projectionRange, **kwargs):
24985 if 'projected' not in context:
24986 return
24987 if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'):
24988 return
24989 if module.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0):
24990 return
24991 fit.ship.increaseItemAttr('warpScrambleStatus', module.getModifiedItemAttr('warpScrambleStrength'), **kwargs)
24992 fit.modules.filteredItemIncrease(
24993 lambda mod: mod.item.requiresSkill('High Speed Maneuvering') or mod.item.requiresSkill('Micro Jump Drive Operation'),
24994 'activationBlocked', module.getModifiedItemAttr('activationBlockedStrenght'), **kwargs)
24995
24996
24997class Effect6230(BaseEffect):

Callers

nothing calls this directly

Calls 4

increaseItemAttrMethod · 0.80
filteredItemIncreaseMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected