Returns whether a Dismiss Pet command should be available for the player's pet. Returns 1 for hunter pets even though they use the Dismiss Pet (cast) spell instead of a Dismiss Pet (instant) command; the value of PetCanBeAbandoned() overrides this in causing the default UI to hide the command. Currently unused, but may be used in the future for other pets.


See also Pet functions.

Signature:

canDismiss = PetCanBeDismissed()

Returns:

  • canDismiss - 1 if a Dismiss Pet command should be available for the player's pet; otherwise nil (1nil)