/run for i=1,C_PetBattles.GetNumPets(2) do SELECTED_CHAT_FRAME:AddMessage(C_PetBattles.GetName(2,i).." - ".._G["BATTLE_PET_BREED_QUALITY"..C_PetBattles.GetBreedQuality(2,i)]) end
Simply paste this into your chat box when you engage the battle. This will bring up the rarity in your chat box ie uncommon - rare.