Open mrbuds opened 5 years ago
hooksecurefunc("SpellButton_OnEnter", function(self) local slot = SpellBook_GetSpellBookSlot(self) --local spellID = select(2, GetSpellBookItemInfo(slot, SpellBookFrame.bookType)) local spellID = select(7, GetSpellInfo(slot, SpellBookFrame.bookType))
addLine(GameTooltip, spellID, kinds.spell) end)
Here is my solution. GetSpellBookItemInfo is currently broken for petspell.
Just replace GetSpellBookItemInfo with GetSpellInfo. lol
From spellbook "Pet" tab, spellids are wrong, but they are good when they are moved to action bars