Returns information about a pet battle ability based on the ID.


See also Pet battles functions.

Signature:

name, icon, petType, nostrongweakhint = C_PetBattles.GetAbilityInfoByID(id)

Arguments:

  • id - The ID number of a pet battle ability (number)

Returns:

  • nil - nil
  • name - The name of the ability (string)
  • icon - The icon used for the ability (string)
  • nil - nil
  • nil - nil
  • nil - nil
  • petType - The family that the ability belongs to (number?)
  • nostrongweakhint - Whether this ability has any strong/weak restrictions (boolean)