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

Method handler

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

Source from the content-addressed store, hash-verified

4420
4421 @staticmethod
4422 def handler(fit, container, context, projectionRange, **kwargs):
4423 level = container.level if 'skill' in context else 1
4424 penalize = False if 'skill' in context or 'booster' in context else True
4425 fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Sensor Linking'),
4426 'maxRange', container.getModifiedItemAttr('rangeSkillBonus') * level,
4427 stackingPenalties=penalize, **kwargs)
4428
4429
4430class Effect1446(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected