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

Method handler

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

Source from the content-addressed store, hash-verified

7127
7128 @staticmethod
7129 def handler(fit, container, context, projectionRange, **kwargs):
7130 level = container.level if 'skill' in context else 1
7131 fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Mining Upgrades'),
7132 'cpuPenaltyPercent',
7133 container.getModifiedItemAttr('miningUpgradeCPUReductionBonus') * level, **kwargs)
7134
7135
7136class Effect2465(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected