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

Method handler

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

Source from the content-addressed store, hash-verified

7736
7737 @staticmethod
7738 def handler(fit, module, context, projectionRange, **kwargs):
7739 penalize = False if 'booster' in context else True
7740 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Projectile Weapon',
7741 'maxRange', module.getModifiedItemAttr('maxRangeBonus'),
7742 stackingPenalties=penalize, **kwargs)
7743
7744
7745class Effect2706(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected