Wikia

WoWWiki

API PetCanBeAbandoned

Talk0
101,389pages on
this wiki
WoW API < PetCanBeAbandoned

Retuns true if the pet is abandonable.

canAbandon = PetCanBeAbandoned();

Arguments
none

Returns
canAbandon
canAbandon 
Boolean - true if the player's pet can be abandoned.

Example
 if ( PetCanBeAbandoned() ) then PetAbandon(); end
Result
true | false

Around Wikia's network

Random Wiki