API C PetBattles.GetPlayerTrapAbility

Returns the ability ID for the best trap available to the player in the pet battle.
 trapAbilityID = C_PetBattles.GetPlayerTrapAbility()
==Returns==
:;trapAbilityID: - 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==
==See also==
* - Determine if trap can be used
* - Attempt to trap the opponent
* Pet Battle Functions