(fit, container, context, projectionRange, **kwargs)
| 30452 | |
| 30453 | @staticmethod |
| 30454 | def handler(fit, container, context, projectionRange, **kwargs): |
| 30455 | if 'projected' not in context: |
| 30456 | return |
| 30457 | if fit.ship.getModifiedItemAttr('disallowAssistance'): |
| 30458 | return |
| 30459 | if container.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0): |
| 30460 | return |
| 30461 | bonus = container.getModifiedItemAttr('armorDamageAmount') |
| 30462 | duration = container.getModifiedItemAttr('duration') / 1000.0 |
| 30463 | fit._armorRr.append((bonus, duration)) |
| 30464 | fit._armorRrPreSpool.append((bonus, duration)) |
| 30465 | fit._armorRrFullSpool.append((bonus, duration)) |
| 30466 | |
| 30467 | |
| 30468 | class Effect6688(BaseEffect): |
nothing calls this directly
no test coverage detected