Wowpedia

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

READ MORE

Wowpedia
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns the ability ID for the best trap available to the player in the pet battle.

trapAbilityID = C_PetBattles.GetPlayerTrapAbility()

Returns

trapAbilityID
number - Ability ID of the best trap you have available.

Details

Additional and better traps unlock through achievements, and this function will give different returns as those achievements are accomplished.

Patch changes

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

See also

Advertisement