Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-28-21, 03:07 PM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
GameTooltip:GetSpell()

The function OnTooltipSetSpell is fired on spell and talent tooltip.
How to recognize if it is spell or talent?

Lua Code:
  1. GameTooltip:HookScript("OnTooltipSetSpell", function(self)
  2.     local spellName, spellID = self:GetSpell();
  3.    ----- this work both on spell and talent tooltip
  4. end
  5. );
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » GameTooltip:GetSpell()

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off