C_PetBattles .IsPlayerNPC
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
Returns whether or not a pet battle team is controlled by an NPC.
isNPC = C_PetBattles.IsPlayerNPC(petOwner)
Arguments
- petOwner
- number - 1: Current player, 2: Opponent.
Returns
- isNPC
- boolean - false if the pet owner is a player, true otherwise.
Patch changes
Patch 5.0.4 (2012-08-28): Added.