>wowhelm_
~/forever/addon-api/function/C_Spell.GetLastCategoryCooldownSource

C_Spell.GetLastCategoryCooldownSource

documented function · Spell
C_Spell.GetLastCategoryCooldownSource(spellCategory) : spellID, itemID

Searches for the most recent spellID and itemID that started a cooldown in this category

──ARGUMENTS
spellCategory
number
──RETURNS
spellID
number, optional (The most recent spell associated with the category)
itemID
number, optional (The item used to trigger this spell)
──DETAILS
May Return Nothing
true
Secret When Cooldowns Restricted
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.