Enables defensive mode for the player's pet. In this mode, the pet automatically attacks only units which attack it or the player or units the player is attacking.
See also Pet functions.
Signature:
PetDefensiveMode()
This function is protected and can only be called by the Blizzard user interface