UI list
Reset cd 1 abi
function ResetUnitAbilityCooldown takes unit u, integer abil returns nothing
local integer l = GetUnitAbilityLevel( u, abil )
if UnitRemoveAbility( u, abil ) then
call UnitAddAbility( u, abil )
call SetUnitAbilityLevel( u, abil, l )
endif
endfunction
Reset cd 1 abi
function ResetUnitAbilityCooldown takes unit u, integer abil returns nothing
local integer l = GetUnitAbilityLevel( u, abil )
if UnitRemoveAbility( u, abil ) then
call UnitAddAbility( u, abil )
call SetUnitAbilityLevel( u, abil, l )
endif
endfunction
