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

Method handler

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

Source from the content-addressed store, hash-verified

31225
31226 @staticmethod
31227 def handler(fit, module, context, projectionRange, **kwargs):
31228 for x in range(1, 5):
31229 if module.getModifiedChargeAttr('warfareBuff{}ID'.format(x)):
31230 value = module.getModifiedItemAttr('warfareBuff{}Value'.format(x))
31231 id = module.getModifiedChargeAttr('warfareBuff{}ID'.format(x))
31232
31233 if id:
31234 fit.addCommandBonus(id, value, module, kwargs['effect'])
31235
31236
31237class Effect6736(BaseEffect):

Callers

nothing calls this directly

Calls 3

getModifiedChargeAttrMethod · 0.80
addCommandBonusMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected