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

Method handler

eos/effects.py:31286–31293  ·  view source on GitHub ↗
(fit, module, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

31284
31285 @staticmethod
31286 def handler(fit, module, context, projectionRange, **kwargs):
31287 for x in range(1, 5):
31288 if module.getModifiedItemAttr('warfareBuff{}ID'.format(x)):
31289 value = module.getModifiedItemAttr('warfareBuff{}Value'.format(x))
31290 id = module.getModifiedItemAttr('warfareBuff{}ID'.format(x))
31291
31292 if id:
31293 fit.addCommandBonus(id, value, module, kwargs['effect'])
31294
31295
31296class Effect6762(BaseEffect):

Callers

nothing calls this directly

Calls 2

addCommandBonusMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected