Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API HasPetSpells

Last wiki revision 2022-07-21

Returns the number of available abilities for the player's combat pet. hasPetSpells, petToken = HasPetSpells

  • numSpells: - The number of pet abilities available, or nil if you do not have a pet with a spell book.
  • petToken: - Pet type, can be "DEMON" or "PET".
  • This return value is not the number that are on the pet bar, but the number of entries in the pet's spell book.

Source

https://warcraft.wiki.gg/wiki/API_HasPetSpells · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.