• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Cooldown Reset

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 001
    • Events
      • Unit - A unit Uses an item
    • Conditions
    • Actions
      • Unit - Reset ability cooldowns for (Triggering unit)
      • Unit Group - Add (Triggering unit) to grp
      • Trigger - Turn on Untitled Trigger 002 <gen>
  • Untitled Trigger 002
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Trigger - Turn off Untitled Trigger 001 <gen>
      • Unit Group - Pick every unit in grp and do (Actions)
        • Loop - Actions
          • Hero - Order (Picked unit) to use (Item carried by (Picked unit) of type Claws of Attack +15)
          • Unit Group - Remove (Picked unit) from grp
      • Trigger - Turn on Untitled Trigger 001 <gen>
0.02 is about the lowest you can go, otherwise it won't work.

Another option is to remove and then add back all the abilities the hero has. That will reset cooldowns.
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
  • Events
    • Unit - A unit Uses an item
  • Conditions
  • Actions
    • Hero - Drop (Item being manipulated) from (Triggering unit)
    • Unit - Reset ability cooldowns for (Triggering unit)
    • Hero - Give (Item being manipulated) to (Triggering unit)
Reset ability cooldowns does not even do its job properly. Item abilities will be refreshed in the current inventory but when you drop that item and acquire it again, the cooldown will still run.
 
Level 2
Joined
Jan 24, 2012
Messages
28
Aeroblyctos, I just change the event :wink:
it's not "a unit use an item"
but "a unit start the effect of an ability" :wink:

try open your old map and see the different :thumbs_up:
 
Status
Not open for further replies.
Top