[General] Cooldown Reset

Status
Not open for further replies.
  • 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.
 
  • 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.
 
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.
Back
Top