C_SpellBook. HasPetSpells
functionimplementedavailable in: camelot
Returns the number of available abilities for the player's combat pet.
function C_SpellBook.HasPetSpells(): (number?, string?)Returns
| # | name | type | description |
|---|---|---|---|
| 1 | numPetSpells | number? | The number of pet abilities available, or nil if you do not have a pet with a spell book. |
| 2 | petNameToken | string? | Pet type, can be "DEMON" or "PET". |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpellBook system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.