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

Method handler

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

Source from the content-addressed store, hash-verified

8265
8266 @staticmethod
8267 def handler(fit, container, context, projectionRange, **kwargs):
8268 level = container.level if 'skill' in context else 1
8269 attrs = ('boosterTurretFalloffPenalty', 'boosterTurretOptimalRangePenalty', 'boosterTurretTrackingPenalty')
8270 for attr in attrs:
8271 fit.boosters.filteredItemBoost(lambda booster: True, attr,
8272 container.getModifiedItemAttr('boosterAttributeModifier') * level, **kwargs)
8273
8274
8275class Effect2791(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected