C_PetJournal .PetIsHurt
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
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
- Pets are injured by dying in pet battles, and may be cured by using [Revive Battle Pets], a [Battle Pet Bandage], or by visiting a Stable master.
Patch changes
Patch 5.0.4 (2012-08-28): Added.