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

Method handler

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

Source from the content-addressed store, hash-verified

7646
7647 @staticmethod
7648 def handler(fit, module, context, projectionRange, **kwargs):
7649 penalize = False if 'booster' in context else True
7650 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Energy Weapon',
7651 'falloff', module.getModifiedItemAttr('falloffBonus'),
7652 stackingPenalties=penalize, **kwargs)
7653
7654
7655class Effect2694(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected