Returns whether the player's current pet has a spellbook

See also Pet functions, Spell functions.


hasPetSpells, petType = HasPetSpells()


  • hasPetSpells - 1 if the player currently has an active pet with spells/abilities; otherwise nil (1nil)
  • petType - Non-localized token identifying the type of pet (string)
    • DEMON - A warlock's demonic minion
    • PET - A hunter's beast