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

C_Spell.GetSpellCharges

documented function · Spell
C_Spell.GetSpellCharges(spellIdentifier) : chargeInfo

Returns a table of info about the charges of a charge-accumulating spell; May return nil if spell is not found or is not charge-based

──ARGUMENTS
spellIdentifier
SpellIdentifier
──RETURNS
chargeInfo
SpellChargeInfo
──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.