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

Method handler

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

Source from the content-addressed store, hash-verified

7345
7346 @staticmethod
7347 def handler(fit, container, context, projectionRange, **kwargs):
7348 level = container.level if 'skill' in context else 1
7349 for i in range(5):
7350 attr = 'boosterEffectChance{0}'.format(i + 1)
7351 fit.boosters.filteredItemBoost(lambda booster: attr in booster.itemModifiedAttributes,
7352 attr, container.getModifiedItemAttr('boosterChanceBonus') * level, **kwargs)
7353
7354
7355class Effect2602(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected