Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.