(fit, module, context, projectionRange, **kwargs)
| 29834 | |
| 29835 | @staticmethod |
| 29836 | def handler(fit, module, context, projectionRange, **kwargs): |
| 29837 | if 'projected' not in context: |
| 29838 | return |
| 29839 | if fit.ship.getModifiedItemAttr('disallowAssistance'): |
| 29840 | return |
| 29841 | amount = module.getModifiedItemAttr('shieldBonus') |
| 29842 | amount *= calculateRangeFactor( |
| 29843 | srcOptimalRange=module.getModifiedItemAttr('maxRange'), |
| 29844 | srcFalloffRange=module.getModifiedItemAttr('falloffEffectiveness'), |
| 29845 | distance=projectionRange) |
| 29846 | speed = module.getModifiedItemAttr('duration') / 1000.0 |
| 29847 | fit._shieldRr.append((amount, speed)) |
| 29848 | |
| 29849 | |
| 29850 | class Effect6653(BaseEffect): |
nothing calls this directly
no test coverage detected