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

Method handler

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

Source from the content-addressed store, hash-verified

8223
8224 @staticmethod
8225 def handler(fit, container, context, projectionRange, **kwargs):
8226 level = container.level if 'skill' in context else 1
8227 attrs = ('boosterCapacitorCapacityPenalty', 'boosterMaxVelocityPenalty')
8228 for attr in attrs:
8229 fit.boosters.filteredItemBoost(lambda booster: True, attr,
8230 container.getModifiedItemAttr('boosterAttributeModifier') * level, **kwargs)
8231
8232
8233class Effect2776(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected