I'm using the Warden Blink ability from the WCIII mod, and I modified the validators so that you cant go through walls and you have to be on the same level. However, when one of those conditions tries to happen, the blink does stop you from doing it, but it runs the cooldown like you actually blinked. How can I make it not start the cooldown if the blink fails to validate?
The validator must be on the first effect of the ability. This is called "root level" validation, only validators that fail in the first effect will block the ability from being used.
I'm using the Warden Blink ability from the WCIII mod, and I modified the validators so that you cant go through walls and you have to be on the same level. However, when one of those conditions tries to happen, the blink does stop you from doing it, but it runs the cooldown like you actually blinked. How can I make it not start the cooldown if the blink fails to validate?
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
The validator must be on the first effect of the ability. This is called "root level" validation, only validators that fail in the first effect will block the ability from being used.
@ArcaneDurandel: Go
That worked exactly! Thanks!
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here