C_PetJournal. SetAbility
functionguessedavailable in: camelot
Selects a battle pet ability to make available in battle.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
slotIndex | number | battle pet slot index, integer between 1 and 3. |
spellIndex | number | ability slot index, integer between 1 and 3. |
petSpellID | number | pet ability ID to select for the spellIndex slot of the pet in the slotIndex battle pet slot. |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.