Returns information about the spell displayed in the tooltip. Signature: Code 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)
Также смотрите: Внутриигровая подсказка
Ссылки: http://wowprogramming.com/docs/widgets/GameTooltip/GetSpell
|