(fit, module, context, projectionRange, **kwargs)
| 2030 | |
| 2031 | @staticmethod |
| 2032 | def handler(fit, module, context, projectionRange, **kwargs): |
| 2033 | # Set flag which is used to determine if ship is cloaked or not |
| 2034 | # This is used to apply cloak-only bonuses, like Black Ops' speed bonus |
| 2035 | fit.extraAttributes['cloaked'] = True |
| 2036 | # Apply speed penalty |
| 2037 | fit.ship.multiplyItemAttr('maxVelocity', module.getModifiedItemAttr('maxVelocityModifier'), |
| 2038 | stackingPenalties=True, penaltyGroup='postMul', **kwargs) |
| 2039 | |
| 2040 | |
| 2041 | class Effect623(BaseEffect): |
nothing calls this directly
no test coverage detected