Retrieves the stats of a battle pet from its GUID


See also Pet journal functions.

Signature:

health, maxHealth, attack, speed, rarity = C_PetJournal.GetPetStats("petID")

Arguments:

  • petID - Pet ID (string, guid)

Returns:

  • health - Current Health (number)
  • maxHealth - Maximum Health (number)
  • attack - The pet's attack rating (number)
  • speed - The pet's speed rating (number)
  • rarity - The pet's rarity (number)
    • 1 - Poor
    • 2 - Common
    • 3 - Uncommon
    • 4 - Rare
    • 5 - Epic
    • 6 - Legendary