WoW API: UnitPVPRank
Jump to navigation Jump to search
→ WoW API
Returns PVP info for the selected target
- "unit" : UnitID of the requested Unit like "target","player"....
- Integer rankNumber
- Display the rank as a number. Starts at 5(!) not at 1 for first rank. 0 if the unit has no rank.
local rankNumber = UnitPVPRank("player");
- Returns the rank as a Number for player.