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- Poor2- Common3- Uncommon4- Rare5- Epic6- Legendary