Selects a battle pet ability to make available in battle.
C_PetJournal.SetAbility(slotIndex, spellIndex, petSpellID)
- number - battle pet slot index, integer between 1 and 3.
- number - ability slot index, integer between 1 and 3.
- number - pet ability ID to select for the
spellIndexslot of the pet in the
slotIndexbattle pet slot.
- While this function allows you to select abilities outside of those specified by C_PetJournal.GetPetAbilityList (or assign those abilities to other ability slots), those abilities will not be usable in pet battles.