Fandom

WoWWiki

API GetPVPSessionStats

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetPVPSessionStats


Gets the amount of honorable kills and honor points you have for the current session ( today ).

local hk, hp = GetPVPSessionStats();


Arguments Edit

None


Returns Edit

hk 
Integer - Amount of honorable kills you have today, returns 0 if you havn't killed anybody today.
hp 
Integer - Estimated honor points for today


Details Edit

Used for retrieving how many honorable kills and honor points you have for today, currently the honor points value is calculated using the estimated honor points from killing an enemy player, and does not take diminishing returns or bonus honor into effect.


Example Edit

Displays how many honorable kills and estimated honor points you have for today.

local hk, hp = GetPVPSessionStats();
DEFAULT_CHAT_FRAME:AddMessage( "You currently have " .. hk .. " honorable kills today, and an estimated " .. hp .. " honor points." );

Also on Fandom

Random Wiki