MCPcopy
hub / github.com/pyfa-org/Pyfa / handler

Method handler

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

Source from the content-addressed store, hash-verified

853
854 @staticmethod
855 def handler(fit, container, context, projectionRange, **kwargs):
856 level = container.level if 'skill' in context else 1
857 fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Electronics Upgrades'),
858 'cpu', container.getModifiedItemAttr('cpuNeedBonus') * level, **kwargs)
859
860
861class Effect214(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected