(fit, module, context, projectionRange, **kwargs)
| 26889 | |
| 26890 | @staticmethod |
| 26891 | def handler(fit, module, context, projectionRange, **kwargs): |
| 26892 | if 'projected' not in context: |
| 26893 | return |
| 26894 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 26895 | return |
| 26896 | appliedBoost = module.getModifiedItemAttr('speedFactor') * calculateRangeFactor( |
| 26897 | srcOptimalRange=module.getModifiedItemAttr('maxRange'), |
| 26898 | srcFalloffRange=module.getModifiedItemAttr('falloffEffectiveness'), |
| 26899 | distance=projectionRange) |
| 26900 | fit.ship.boostItemAttr('maxVelocity', appliedBoost, stackingPenalties=True, **kwargs) |
| 26901 | |
| 26902 | |
| 26903 | class Effect6427(BaseEffect): |
nothing calls this directly
no test coverage detected