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

Method handler

eos/effects.py:17186–17190  ·  view source on GitHub ↗
(fit, ship, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

17184
17185 @staticmethod
17186 def handler(fit, ship, context, projectionRange, **kwargs):
17187 for type in ('Gravimetric', 'Ladar', 'Radar', 'Magnetometric'):
17188 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'ECM',
17189 'scan{0}StrengthBonus'.format(type),
17190 ship.getModifiedItemAttr('rookieECMStrengthBonus'), **kwargs)
17191
17192
17193class Effect5030(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected