(fit, module, context, projectionRange, **kwargs)
| 30501 | |
| 30502 | @staticmethod |
| 30503 | def handler(fit, module, context, projectionRange, **kwargs): |
| 30504 | if 'projected' not in context: |
| 30505 | return |
| 30506 | if fit.ship.getModifiedItemAttr('disallowAssistance'): |
| 30507 | return |
| 30508 | if module.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0): |
| 30509 | return |
| 30510 | bonus = module.getModifiedItemAttr('structureDamageAmount') |
| 30511 | duration = module.getModifiedItemAttr('duration') / 1000.0 |
| 30512 | fit._hullRr.append((bonus, duration)) |
| 30513 | |
| 30514 | |
| 30515 | class Effect6690(BaseEffect): |
nothing calls this directly
no test coverage detected