- Joined
- Oct 3, 2008
- Messages
- 189
Hi everyone,
was wondering if there is a way to set the remaining cooldown of an ability for a unit to a certain value. Specific usecase:
Custom ability being cast, say it has 10 second cooldown, if the target is invalid (determined in a trigger) I want to be able to set the remaining cooldown of the ability to a small value, say 0.5, rather than fully reset it to prevent players from being able to just mash the ability.
was wondering if there is a way to set the remaining cooldown of an ability for a unit to a certain value. Specific usecase:
Custom ability being cast, say it has 10 second cooldown, if the target is invalid (determined in a trigger) I want to be able to set the remaining cooldown of the ability to a small value, say 0.5, rather than fully reset it to prevent players from being able to just mash the ability.