(fit, module, context, projectionRange, **kwargs)
| 10285 | |
| 10286 | @staticmethod |
| 10287 | def handler(fit, module, context, projectionRange, **kwargs): |
| 10288 | if 'projected' in context: |
| 10289 | if module.charge is None: |
| 10290 | return |
| 10291 | if module.getModifiedItemAttr('warpScrambleRange', 0) < (projectionRange or 0): |
| 10292 | return |
| 10293 | if module.charge.ID in (29003, 45010): |
| 10294 | fit.ship.increaseItemAttr('warpScrambleStatus', module.getModifiedItemAttr('warpScrambleStrength'), **kwargs) |
| 10295 | if module.charge.ID == 45010: |
| 10296 | fit.modules.filteredItemIncrease( |
| 10297 | lambda mod: mod.item.requiresSkill('High Speed Maneuvering') or mod.item.requiresSkill('Micro Jump Drive Operation'), |
| 10298 | 'activationBlocked', 1, **kwargs) |
| 10299 | else: |
| 10300 | fit.ship.forceItemAttr('disallowAssistance', 1, **kwargs) |
| 10301 | if module.charge is not None: |
| 10302 | return |
| 10303 | fit.ship.boostItemAttr('mass', module.getModifiedItemAttr('massBonusPercentage'), **kwargs) |
| 10304 | fit.ship.boostItemAttr('signatureRadius', module.getModifiedItemAttr('signatureRadiusBonus'), **kwargs) |
| 10305 | fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Propulsion Module', |
| 10306 | 'speedBoostFactor', module.getModifiedItemAttr('speedBoostFactorBonus'), **kwargs) |
| 10307 | fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Propulsion Module', |
| 10308 | 'speedFactor', module.getModifiedItemAttr('speedFactorBonus'), **kwargs) |
| 10309 | |
| 10310 | |
| 10311 | class Effect3392(BaseEffect): |
nothing calls this directly
no test coverage detected