(fit, container, context, projectionRange, **kwargs)
| 30477 | |
| 30478 | @staticmethod |
| 30479 | def handler(fit, container, context, projectionRange, **kwargs): |
| 30480 | if 'projected' not in context: |
| 30481 | return |
| 30482 | if fit.ship.getModifiedItemAttr('disallowAssistance'): |
| 30483 | return |
| 30484 | if container.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0): |
| 30485 | return |
| 30486 | bonus = container.getModifiedItemAttr('shieldBonus') |
| 30487 | duration = container.getModifiedItemAttr('duration') / 1000.0 |
| 30488 | fit._shieldRr.append((bonus, duration)) |
| 30489 | |
| 30490 | |
| 30491 | class Effect6689(BaseEffect): |
nothing calls this directly
no test coverage detected