Wikia

WoWWiki

Watchlist Recent changes

API GetSummonFriendCooldown

Main Menue



Returns information about the cooldown time of the RaF Summon Friend ability.

start, duration = GetSummonFriendCooldown()

Returns Edit

start 
Number - The value of GetTime() at the moment the cooldown began, 0 if the ability is ready
duration 
Number - The length of the cooldown in seconds, 0 if the ability is ready

Example Edit

The snippet below prints the remaining time of the cooldown in seconds.

local start, duration = GetSummonFriendCooldown()
local timeleft = start + duration - GetTime()
print(timeleft)

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki