Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPVPLifetimeStats

Last wiki revision 2022-07-22

Returns the character's lifetime PvP statistics. honorableKills, dishonorableKills, highestRank = GetPVPLifetimeStats

  • honorableKills: - The number of honorable kills you have made
  • dishonorableKills: - The number of dishonorable kills you have made
  • highestRank: - The highest rank you have achieved (Use GetPVPRankInfo(highestRank) to get the name of the rank)

local _, _, highestRank = GetPVPLifetimeStats; local pvpRank = GetPVPRankInfo(highestRank); DEFAULT_CHAT_FRAME:AddMessage(pvpRank);

Result

Prints the player's PVP rank name to the default chat frame.

Source

https://warcraft.wiki.gg/wiki/API_GetPVPLifetimeStats · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.