The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
fori=1,HasPetSpells()dolocalspellType,id=GetSpellBookItemInfo(i,BOOKTYPE_PET)localspellID=bit.band(0xFFFFFF,id)-- not sure what the non-spell IDs arelocalspellName=spellID>100andGetSpellInfo(spellID)orGetSpellBookItemName(i,BOOKTYPE_PET)localhasActionButton=C_ActionBar.HasPetActionButtons(id)print(i,spellType,id,spellID,spellName,hasActionButton)end