Gaming
 

API GameTooltip GetSpell

From WoWWiki

Main Menu



spellName, spellRank, spellID = GameTooltip:GetSpell();

Returns the name and link of the item displayed on a GameTooltip.


Arguments
none

Returns
spellName, spellRank, spellID
spellName
Plain text spell name (e.g. "Explosive Shot").
spellRank
Plain text spell rank (e.g. "Rank 4").
spellID
Integer spell ID (e.g. "60053").