Set battle pet ability


See also Pet journal functions.

Signature:

C_PetJournal.SetAbility(slotIndex, spellIndex, petSpellID)

Arguments:

  • slotIndex - Pet slot index (1-3) (number)
  • spellIndex - Pet ability slot index (1-3) (number)
  • petSpellID - Pet ability ID (number)