• 🏆 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!

[General] Cooldown modification?

Status
Not open for further replies.
Level 24
Joined
Feb 9, 2009
Messages
1,787
Since the producer update has added many natives have we reached cooldown modifcation yet?

I understand we have:
  • Unit - For Unit (Picked Unit), Set cooldown of ability firebolt , Level: (Level of firebolt for Picked Unit) to ((Ability Cooldown Remaining of Picked Unit for ability firebolt ) - 1.50)
But this will simply reset the ability if was already cast, and set the next cast to the lower amount



if you still don't know what I mean:
  • Unit Group - unit within 500 range of (Position of unit with firebolt) dies
  • (Picked unit) has firebolt on cooldown)
  • Unit - Reduce the firebolt's current cooldown by x seconds?

I also saw some JASS natives for setting the remaining cooldown but I'm not sure entirely how to set it for an individual unit.
 
Status
Not open for further replies.
Top