C_Spell.GetSpellSubtext

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_Spell.GetSpellSubtext TheWarWithin-Icon-Inline.png + 11.0.2
BTNTemp.png GetSpellSubtext Dragonflight-Icon-Inline.pngCata-Logo-Small.pngWoW Icon update.png + 8.0.1, - 11.0.2

Returns nil if spell is not found

subtext = C_Spell.GetSpellSubtext(spellIdentifier)

Arguments

spellIdentifier
number|string : SpellIdentifier

Returns

subtext
string - May be empty if spell's data isn't loaded yet; Listen for SPELL_TEXT_UPDATE event, or use SpellMixin to load asynchronously