Lore archive · Warcraft Wiki, 2023 dump
API C PetJournal.SetAbility
Last wiki revision 2022-08-01
Selects a battle pet ability to make available in battle. C_PetJournal.SetAbility(slotIndex, spellIndex, petSpellID)
- slotIndex: - battle pet slot index, integer between 1 and 3.
- spellIndex: - ability slot index, integer between 1 and 3.
- petSpellID: - pet ability ID to select for the slot of the pet in the battle pet slot.
- While this function allows you to select abilities outside of those specified by (or assign those abilities to other ability slots), those abilities will not be usable in pet battles.
Source
https://warcraft.wiki.gg/wiki/API_C_PetJournal.SetAbility · 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.