GHI_GetItemCooldown

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_GetItemCooldown(itemGuid)

Arguments:

GHI_GetItemCooldown(itemGuid) has 1 required argument.

itemGuid
''String''
The GUID of the item you wish to find cooldown of.

Returns:

cooldown
''Number''
The cooldown time in seconds.

Example:

local itemGUID = stack.GetItemGuid()

local cooldown = GHI_GetItemCooldown(itemGUID)

print(cooldown)