Returns whether the player's current pet has a spellbook


See also Pet functions, Spell functions.

Signature:

hasPetSpells, petType = HasPetSpells()

Returns:

  • 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