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

Method handler

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

Source from the content-addressed store, hash-verified

13540
13541 @staticmethod
13542 def handler(fit, container, context, projectionRange, **kwargs):
13543 level = container.level if 'skill' in context else 1
13544 penalized = False if 'skill' in context or 'implant' in context or 'booster' in context else True
13545 fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Astrometrics'),
13546 'baseSensorStrength', container.getModifiedItemAttr('scanStrengthBonus') * level,
13547 stackingPenalties=penalized, **kwargs)
13548
13549
13550class Effect4165(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected