• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Is there a way to add cooldown? or keep the cooldown?

Status
Not open for further replies.
Level 13
Joined
Jun 5, 2008
Messages
504
You can reset ability cooldown but can not actually set it... More details on the spells please, i may be able to help you then.

I mean it should work like item ability. The cooldown wont reset even if you drop it.

This could be done by adding dummy spell that does nothing and replace it later with real spell. Is there simpler way to do it?
 
Level 8
Joined
Mar 23, 2007
Messages
302
Just hide them....
Have 2 spells. lets say Water and Fire.
If Hero uses Water, then CD starts, u hide this ability and
the Fire abilit apears, Now he uses the Fire and Fire gets CD.
It switches back , but the unit has to wait because the water ability still
is in cd.

There is a Function to do this:
  • Player - Deactivate "SKILL" for player 1
Here is a Map, that shows u how to do it.
When u Cast Holy Shild, it will remove it and u gain
Holy light etc
 

Attachments

  • Test.w3x
    16.9 KB · Views: 45
Level 13
Joined
Jun 5, 2008
Messages
504
Just hide them....
Have 2 spells. lets say Water and Fire.
If Hero uses Water, then CD starts, u hide this ability and
the Fire abilit apears, Now he uses the Fire and Fire gets CD.
It switches back , but the unit has to wait because the water ability still
is in cd.

There is a Function to do this:
  • Player - Deactivate "SKILL" for player 1

I will try it. Ty.
 
Status
Not open for further replies.
Top