GetQuestLogSpecialItemCooldown

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.1.0 / 1.15.0

Returns cooldown information about a special quest item based on a given index

start, duration, enable = GetQuestLogSpecialItemCooldown(questLogIndex)

Arguments

questLogIndex
number - The index of the quest to query. The number of quests can be retrieved with GetNumQuestLogEntries()

Returns

start
number - The value of GetTime() when the quest items's cooldown began (or 0 if the item is off cooldown).
duration
number - The duration of the items's cooldown (is 0 if the item is ready).
enable
number - 1 if the item is enabled, otherwise 0 (needs verification)