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

Method handler

eos/effects.py:91–95  ·  view source on GitHub ↗
(fit, beacon, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

89
90 @staticmethod
91 def handler(fit, beacon, context, projectionRange, **kwargs):
92 for i in range(1, 5):
93 if id := beacon.getModifiedItemAttr(f'warfareBuff{i}ID'):
94 value = beacon.getModifiedItemAttr(f'warfareBuff{i}Value')
95 fit.addCommandBonus(id, value, beacon, kwargs['effect'], 'early')
96
97
98class Effect4(BaseEffect):

Callers

nothing calls this directly

Calls 2

addCommandBonusMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected