Fandom

WoWWiki

API GetSummonFriendCooldown

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetSummonFriendCooldown

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)

Also on Fandom

Random Wiki