how to put something on cooldown without casting

Status
Not open for further replies.

Nasai

N

Nasai

how can i make a spell go on cooldown without the unit ever casting the spell?
 
I need that too (specially for passives, possible to make a cooldown but not visualy)

I think I have an idea
firstly make it active
Make a trigger like
if unit is ordered to use that ability
pause it - order it to stop - unpause

Whenever you want to start cooldown
Disable first trigger
order unit to use that spell
enable first trigger

Not so efficient
 
i think im just gonna make it remove the ability from the unit with triggers, fire a timer, and then give the ability back after the timer expires... really the only way
 
You could try making the unit cast some dummy ability with no effect that has the same Order Id as your spell. (Based from the same ability)
That might work.

This is what I would do.

If that doesn't do it, you could try removing the original ability, making a dummy ability with the same icon and tooltip, having the dummy ability fire, and then when the cooldown is over replace it with the real ability.
 
Status
Not open for further replies.
Back
Top