Cooldown halved on kill

Hi. I’ve been trying to add something to Sombra where if she gets a final blow on a hero, the cooldown on her hack is instantly halved. Is there any way I can do this? Or decrease cooldown by 2-4 seconds?

Thanks :blush::blush:

You cant change the build-in ability cooldown with workshop. Instead, you can set the build-in cooldown to 0 and make a custom one. For example you store the cooldown-timer in PLAYER VARIABLE A. If A == 0 you SET SECONDARY FIRE ENABLED() == TRUE. If Sombra uses hack (IS FIRING SECONDARY() == TRUE) you SET SECONDARY FIRE ENABLED() == FALSE, set A to whatever cooldown time you want and start reducing A over time, either with CHASE PLAYER VARIABLE AT RATE() or manually with a loop.
Now you can alter A anytime in any way you want. For the visualisation you can create a HUD text displaying A.

1 Like

Thanks a lot Really appreciated. :+1::+1:

1 Like