GetPVPLifetimeStats
Jump to navigation
Jump to search
Returns the character's lifetime PvP statistics.
lifetimeHonorableKills, lifetimeMaxPVPRank = GetPVPLifetimeStats()
Returns
- lifetimeHonorableKills
- number - The number of honorable kills you have made
- lifetimeMaxPVPRank
- number - The highest rank you have achieved (Use GetPVPRankInfo(highestRank) to get the name of the rank)
Example
Prints the player's PVP rank name to the default chat frame.
local _, _, highestRank = GetPVPLifetimeStats() local pvpRank = GetPVPRankInfo(highestRank) print(pvpRank)
Patch changes
- Removed
dishonorableKills
return value in an unknown patch.