Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the cooldown info of the RaF Summon Friend ability.
start, duration = GetSummonFriendCooldown()
Returns[]
- 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[]
The snippet below prints the remaining time of the cooldown in seconds.
local start, duration = GetSummonFriendCooldown() local timeleft = start + duration - GetTime() print(timeleft)