(fit, src, context, projectionRange, **kwargs)
| 650 | |
| 651 | @staticmethod |
| 652 | def handler(fit, src, context, projectionRange, **kwargs): |
| 653 | # Set reload time to 10 seconds |
| 654 | src.reloadTime = 10000 |
| 655 | if 'projected' not in context: |
| 656 | return |
| 657 | if src.item.group.name == 'Missile Launcher Bomb': |
| 658 | # Bomb Launcher Cooldown Timer |
| 659 | moduleReactivationDelay = src.getModifiedItemAttr('moduleReactivationDelay') |
| 660 | speed = src.getModifiedItemAttr('speed') |
| 661 | # Void and Focused Void Bombs |
| 662 | neutAmount = src.getModifiedChargeAttr('energyNeutralizerAmount') |
| 663 | if moduleReactivationDelay and neutAmount and speed: |
| 664 | fit.addDrain(src, speed + moduleReactivationDelay, neutAmount, 0) |
| 665 | # Lockbreaker Bombs |
| 666 | ecmStrengthBonus = src.getModifiedChargeAttr('scan{0}StrengthBonus'.format(fit.scanType)) |
| 667 | if ecmStrengthBonus: |
| 668 | fit.addProjectedEcm(ecmStrengthBonus) |
| 669 | elif src.item.group.name == 'Interdiction Sphere Launcher': |
| 670 | speedFactor = src.getModifiedChargeAttr('speedFactor') |
| 671 | if speedFactor: |
| 672 | fit.ship.boostItemAttr('maxVelocity', speedFactor, **kwargs) |
| 673 | |
| 674 | class Effect118(BaseEffect): |
| 675 | """ |
nothing calls this directly
no test coverage detected