Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

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[]

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also[]

Advertisement