(fit, module, context, projectionRange, **kwargs)
| 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 | |
| 2500 | class Effect836(BaseEffect): |
nothing calls this directly
no test coverage detected