WoWInterface - View Single Post - Survival of the Fittest
View Single Post
12-20-20, 05:41 AM   #2
A Frostmaul Preserver
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 283
That's really strange. It makes you wonder what IsUsableSpell() is good for regarding pet abilities.

A workaround could be this:

Lua Code:
  1. local _, id = GetSpellBookItemName(14, BOOKTYPE_PET)
  2. if id == 264735 then
  3.   -- Survival of the fittest is available.
  4. end
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote