Ok, I’ve been making basic hero changes and when I wanted to make custom cooldowns for abilities I just made sure the rule could only be activated if the ability button was held and the cooldown of the ability equaled 0. It worked twice, but when I tried adding a custom projectile to Baptiste the cooldown didn’t work at all and I could just press the button multiple times to spam it. Can someone please explain why it’s not working while the others are and how to fix it, please.
Code: 0R07RR
Because checking if Baptiste’s Ability 2 is on cooldown is broken. You can chase a variable to mimic its cooldown. When the game starts, the variable is 0, so you can use the ability, then, when used, the variable is increased to any number (it could be 10 or 100, no matter the number) and it goes down to 0 in 10 seconds (same as cooldown) using Chase Player Variable Over Time
.
Something you may want to add to that code is Is Alive(Event Player) == True
so you can’t shoot it while dead.
2 Likes
Thanks a lot! It ended up working well I don’t understand why it’s broken and most other heroes work well.
1 Like