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

Method handler

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

Source from the content-addressed store, hash-verified

2051
2052 @staticmethod
2053 def handler(fit, container, context, projectionRange, **kwargs):
2054 level = container.level if 'skill' in context else 1
2055 fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill('Mining Drone Operation'),
2056 'miningAmount',
2057 container.getModifiedItemAttr('miningAmountBonus') * level, **kwargs)
2058
2059
2060class Effect627(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected