(cls, fit, src, context, projectionRange, **kwargs)
| 27048 | |
| 27049 | @classmethod |
| 27050 | def handler(cls, fit, src, context, projectionRange, **kwargs): |
| 27051 | if 'projected' not in context: |
| 27052 | return |
| 27053 | if fit.ship.getModifiedItemAttr('disallowOffensiveModifiers'): |
| 27054 | return |
| 27055 | if src.getModifiedItemAttr('{}Range'.format(cls.prefix), 0) < (projectionRange or 0): |
| 27056 | return |
| 27057 | fit.ship.increaseItemAttr( |
| 27058 | 'warpScrambleStatus', |
| 27059 | src.getModifiedItemAttr('{}PointStrength'.format(cls.prefix)) * src.amount, |
| 27060 | **kwargs) |
| 27061 | |
| 27062 | |
| 27063 | class Effect6437(BaseEffect): |
nothing calls this directly
no test coverage detected