(fit, module, context, projectionRange, **kwargs)
| 272 | |
| 273 | @staticmethod |
| 274 | def handler(fit, module, context, projectionRange, **kwargs): |
| 275 | if 'projected' not in context: |
| 276 | return |
| 277 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 278 | return |
| 279 | if module.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0): |
| 280 | return |
| 281 | fit.ship.increaseItemAttr('warpScrambleStatus', module.getModifiedItemAttr('warpScrambleStrength'), **kwargs) |
| 282 | |
| 283 | |
| 284 | class Effect46(BaseEffect): |
nothing calls this directly
no test coverage detected