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
- nilname
- The name of the ability (string
)icon
- The icon used for the ability (string
)nil
- nilnil
- nilnil
- nilpetType
- The family that the ability belongs to (number?
)nostrongweakhint
- Whether this ability has any strong/weak restrictions (boolean
)