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.PetIsHurt

From Wowpedia
Jump to: navigation, search

Returns whether the specified battle pet is injured and unable to participate in battles.

isHurt = C_PetJournal.PetIsHurt(petID)

Arguments

petID 
String - Battle pet GUID of a pet in your collection.

Returns

isHurt 
Boolean - true if the specified pet is injured and cannot fight, false otherwise.

Details

Patch history

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