Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_PetJournal.PetIsRevoked

From Wowpedia
Jump to: navigation, search

Returns whether or not the pet is revoked.

isRevoked = C_PetJournal.PetIsRevoked("petID")

Arguments

petID 
String - Unique identifier for this specific pet

Returns

isRevoked 
Boolean - true if the pet is revoked.

Details

  • Revoked pets are pets that have been stripped from the player in every fashion except for their name. They remain in the Pet Journal, but they cannot be summoned or used in battle. In addition, the rarity border and level icon will not appear around and over the pet's name in the Pet Journal's scrolling list.
  • This function returns true for Blizzard Pet Store pets on the PTR, which suggests that isRevoked is only ever true for pets that cost money and have not been authorized for a specific World of Warcraft account. This mechanic is likely in place to prevent characters from transferring with an unused Blizzard Pet Store pet to a different account that does not have access to that pet.

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.