C_PetBattles.GetPlayerTrapAbility

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4

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