WoW:API GetBattlefieldScore: Difference between revisions
Jump to navigation
Jump to search
GetBattlefieldScore -Documentation by Darjk-
Last updated: Patch 2.0
| Line 13: | Line 13: | ||
---- | ---- | ||
=== Returns === | === Returns === | ||
:name, killingBlows, honorKills, deaths, honorGained, faction, rank, race, class | :name, killingBlows, honorKills, deaths, honorGained, faction, rank, race, class, damageDone, healingDone | ||
:;name : String - The player's name, with their server name attached if from a different server to the player. | :;name : String - The player's name, with their server name attached if from a different server to the player. | ||
| Line 24: | Line 24: | ||
:;race : String - The players race (Orc, Undead, Human, etc). | :;race : String - The players race (Orc, Undead, Human, etc). | ||
:;class : String - The players class (Mage, Hunter, Warrior, etc). | :;class : String - The players class (Mage, Hunter, Warrior, etc). | ||
:;damageDone: String - The amount of damage done. | |||
:;healingDone: String - The amount of healing done. | |||
<br><center><i>Last updated: Patch | <br><center><i>Last updated: Patch 2.0</i></center> | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
{{WoW API}} | {{WoW API}} | ||
Revision as of 06:02, 13 December 2006
Returns information about a player's score in battlegrounds.
name, killingBlows, honorKills, deaths, honorGained, faction, rank, race, class = GetBattlefieldScore(index);
Parameters
Arguments
- ( index )
- index
- Integer - The characters index in battlegrounds.
Returns
- name, killingBlows, honorKills, deaths, honorGained, faction, rank, race, class, damageDone, healingDone
- name
- String - The player's name, with their server name attached if from a different server to the player.
- killingBlows
- Integer - Number of killing blows.
- honorKills
- Integer - Number of honourable kills.
- deaths
- Integer - The number of deaths.
- honorGained
- Integer - The amount of honour gained so far (Bonus Honour).
- faction
- Integer - (Horde = 0, Alliance = 1).
- rank
- Integer - The players rank (0 - 14).
- race
- String - The players race (Orc, Undead, Human, etc).
- class
- String - The players class (Mage, Hunter, Warrior, etc).
- damageDone
- String - The amount of damage done.
- healingDone
- String - The amount of healing done.