>wowhelm_
~/forever/addon-api/function/C_SpellBook.GetSpellBookItemCastCount

C_SpellBook.GetSpellBookItemCastCount

documented function · SpellBook
C_SpellBook.GetSpellBookItemCastCount(spellBookItemSlotIndex, spellBookItemSpellBank) : castCount

Returns number of times a SpellBookItem can be cast, typically based on availability of things like required reagent items; Always returns 0 if item is not found or is not a spell

──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
castCount
number
──DETAILS
Secret When Cooldowns Restricted
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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