~/forever/addon-api/function/C_Spell.GetSpellDisplayCount
C_Spell.GetSpellDisplayCount
documented function · Spell
C_Spell.GetSpellDisplayCount(spellIdentifier, maxDisplayCount, replacementString) : displayCountDepending on the spell, return a string that is either the use count or number of charges. If value is beyond the display count parameter, returns the replacementString (defaults to '*').
──ARGUMENTS
- spellIdentifier
- SpellIdentifier
- maxDisplayCount
- number, default 9999
- replacementString
- cstring, default *
──RETURNS
- displayCount
- string
──DETAILS
- Secret When Cooldowns Restricted
- true
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.