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

Method handler

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

Source from the content-addressed store, hash-verified

26612
26613 @staticmethod
26614 def handler(fit, src, context, projectionRange, **kwargs):
26615 groups = ('Structure ECM Battery', 'Structure Disruption Battery')
26616 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
26617 'falloff', src.getModifiedItemAttr('structureRigEwarFalloffBonus'),
26618 stackingPenalties=True, **kwargs)
26619 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
26620 'maxRange', src.getModifiedItemAttr('structureRigEwarOptimalBonus'),
26621 stackingPenalties=True, **kwargs)
26622 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
26623 'falloffEffectiveness', src.getModifiedItemAttr('structureRigEwarFalloffBonus'),
26624 stackingPenalties=True, **kwargs)
26625
26626
26627class Effect6407(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected