API C PetJournal.GetPetStats

Returns a pet's stats from the Pet Journal health, maxHealth, power, speed, rarity = C_PetJournal.GetPetStats("petID")

Arguments

 * petID: String - GUID of pet in Pet Journal (different than speciesID and displayID)

Returns

 * health: Number - Current health of the pet. Zero or negative if the pet is dead.
 * maxHealth: Number - Maximum health of the pet
 * power: Number
 * speed: Number
 * rarity: Number - 1: "Poor", 2: "Common", 3: "Uncommon", 4: "Rare", 5: "Epic", 6: "Legendary"