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

Method handler

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

Source from the content-addressed store, hash-verified

2490
2491 @staticmethod
2492 def handler(fit, module, context, projectionRange, **kwargs):
2493 # Dirty hack to work around cap charges setting cap booster
2494 # injection amount to zero
2495 rawAttr = module.item.getAttribute('capacitorNeed')
2496 if rawAttr is not None and rawAttr >= 0:
2497 module.boostItemAttr('capacitorNeed', module.getModifiedChargeAttr('capNeedBonus') or 0, **kwargs)
2498
2499
2500class Effect836(BaseEffect):

Callers

nothing calls this directly

Calls 3

getAttributeMethod · 0.80
boostItemAttrMethod · 0.80
getModifiedChargeAttrMethod · 0.80

Tested by

no test coverage detected