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

C_Spell.GetSpellCastCount

documented function · Spell
C_Spell.GetSpellCastCount(spellIdentifier) : castCount

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

──ARGUMENTS
spellIdentifier
SpellIdentifier
──RETURNS
castCount
number
──DETAILS
Secret When Cooldowns Restricted
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

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