WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Spellid on tooltip (https://www.wowinterface.com/forums/showthread.php?t=56975)

strickland 01-12-19 09:03 AM

Spellid on tooltip
 
Hey, I remember that I used an addon that enables spellid on the tooltip, be that on everything included spells, buff, debuff on me, also items, and every tooltip.

But I can't for the life of me remember which addon that was, I remember it was a big addon and there was a tick inside of it that says "Show spellid", please help me find it.

Sylen 01-12-19 09:33 AM

idTip does this stuff.

myrroddin 01-12-19 11:28 AM

I think every tooltip addon can do this, either by default or in their options.

Kanegasi 01-12-19 12:14 PM

If you don't want an entire addon just for a spell id, paste the following at https://addon.bool.no

Lua Code:
  1. local function spellid(self,unit,index,filter)
  2.     local _,id
  3.     if unit then
  4.         _,_,_,_,_,_,_,_,_,id=UnitAura(unit,index,filter)
  5.     else
  6.         _,id=self:GetSpell()
  7.     end
  8.     if id then self:AddLine("ID: "..id) end
  9.     self:Show()
  10. end
  11. hooksecurefunc(GameTooltip,"SetUnitAura",spellid)
  12. hooksecurefunc(GameTooltip,"SetUnitBuff",spellid)
  13. hooksecurefunc(GameTooltip,"SetUnitDebuff",spellid)
  14. GameTooltip:HookScript("OnTooltipSetSpell",spellid)


If you want the line a certain color, change the AddLine part to this:

if id then self:AddLine("|cff789ABCID: "..id.."|r") end

Replace 789ABC with an appropriate hex value.

loudsoul 01-13-19 12:31 AM

https://www.wowinterface.com/downloa...-BFA.html#info

strickland 01-13-19 04:42 AM

Thank you all very much, so helpful all of the above <3


All times are GMT -6. The time now is 09:47 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI