Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
Returns whether or not a pet battle team is controlled by an NPC.
isNPC = C_PetBattles.IsPlayerNPC(petOwner)
- Number - 1: Current player, 2: Opponent.
- Boolean - false if the pet owner is a player, true otherwise.
- Patch 5.0.4 (2012-08-28): Added.