Returns information about the spell displayed in the tooltip
Signature:
spellName,
spellRank,
spellID
=
GameTooltip:GetSpell()
Returns:
spellName
- Name of the spell, or nil if the information in the tooltip is not for a spell. (string
)spellRank
- Secondary text associated with the spell name (often a rank, e.g."Rank 8"
) (string
)spellID
- Numeric identifier for the spell and rank (number
, spellID)