Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Ability cooldown reset
Ability cooldown reset
04-09-2006, 10:25 PM
#1
knutz
Is there a native that can reset a particular ability cooldown for a hero? I have a work-around but a single native would be helpful.
04-09-2006, 10:29 PM
#2
Immoralis
well if you remove spell book and chaos it and give back spell book all cooldowns are set i dunno if that helps, you can chaos the unit to itself i guess
04-09-2006, 10:48 PM
#3
mmx2000
The only function I can find that deals with cooldowns is UnitResetCooldown :/
04-10-2006, 08:33 AM
#4
Captain Griffen
No. You'll have to use a workaround.
04-10-2006, 02:49 PM
#5
shadow1500
Remove the ability and add it back?
04-10-2006, 03:09 PM
#6
blu_da_noob
Store the ability level, remove the ability, add it again and reset the level.
Here is Blade's function to do it if you're lazy:
http://www.wc3jass.com/viewtopic.php?t=2056