(fit, src, context, projectionRange, **kwargs)
| 27388 | |
| 27389 | @staticmethod |
| 27390 | def handler(fit, src, context, projectionRange, **kwargs): |
| 27391 | if 'projected' not in context: |
| 27392 | return |
| 27393 | if not ((hasattr(src, 'state') and src.state >= FittingModuleState.ACTIVE) or hasattr(src, 'amountActive')): |
| 27394 | return |
| 27395 | amount = src.getModifiedItemAttr('energyNeutralizerAmount') |
| 27396 | if 'effect' in kwargs: |
| 27397 | from eos.modifiedAttributeDict import ModifiedAttributeDict |
| 27398 | amount *= ModifiedAttributeDict.getResistance(fit, kwargs['effect']) |
| 27399 | time = src.getModifiedItemAttr('duration') |
| 27400 | fit.addDrain(src, time, amount, 0) |
| 27401 | |
| 27402 | |
| 27403 | class Effect6478(BaseEffect): |
nothing calls this directly
no test coverage detected