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

Method handler

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

Source from the content-addressed store, hash-verified

1277
1278 @staticmethod
1279 def handler(fit, container, context, projectionRange, **kwargs):
1280 level = container.level if 'skill' in context else 1
1281 fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Energy Grid Upgrades'),
1282 'cpu', container.getModifiedItemAttr('cpuNeedBonus') * level, **kwargs)
1283
1284
1285class Effect397(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected