(fit, container, context, projectionRange, **kwargs)
| 30595 | |
| 30596 | @staticmethod |
| 30597 | def handler(fit, container, context, projectionRange, **kwargs): |
| 30598 | if 'projected' not in context: |
| 30599 | return |
| 30600 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 30601 | return |
| 30602 | if container.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0): |
| 30603 | return |
| 30604 | fit.ship.boostItemAttr('maxTargetRange', container.getModifiedItemAttr('maxTargetRangeBonus'), |
| 30605 | stackingPenalties=True, **kwargs) |
| 30606 | fit.ship.boostItemAttr('scanResolution', container.getModifiedItemAttr('scanResolutionBonus'), |
| 30607 | stackingPenalties=True, **kwargs) |
| 30608 | |
| 30609 | |
| 30610 | class Effect6694(BaseEffect): |
nothing calls this directly
no test coverage detected