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

Method handler

eos/effects.py:4166–4173  ·  view source on GitHub ↗
(fit, container, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

4164
4165 @staticmethod
4166 def handler(fit, container, context, projectionRange, **kwargs):
4167 groups = ('ECM', 'Burst Jammer')
4168 level = container.level if 'skill' in context else 1
4169 for scanType in ('Gravimetric', 'Ladar', 'Magnetometric', 'Radar'):
4170 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
4171 'scan{0}StrengthBonus'.format(scanType),
4172 container.getModifiedItemAttr('scanSkillEwStrengthBonus') * level,
4173 stackingPenalties=False if 'skill' in context else True, **kwargs)
4174
4175
4176class Effect1360(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected