WoW:API GetBattlefieldScore: Difference between revisions

Forgot to update a small area
(Forgot to update a small area)
Line 1: Line 1:
<center>'''GetBattlefieldScore''' ''-Documentation by [[user:Darjk|Darjk]]-''</center>
Returns information about a player's score in battlegrounds.
Returns information about a player's score in battlegrounds.
   
   
  name, killingBlows, honorKills, deaths, honorGained, faction, rank, race, class = GetBattlefieldScore(index);
  name, killingBlows, honorKills, deaths, honorGained, faction, rank, race, class, damageDone, healingDone = GetBattlefieldScore(index);


== Parameters ==
== Parameters ==
Line 24: Line 22:
:;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.
:;damageDone: Integer - The amount of damage done.
:;healingDone: String - The amount of healing done.
:;healingDone: Integer - The amount of healing done.


<br><center><i>Last updated: Patch 2.0</i></center>
<br><center><i>Last updated: Patch 2.0</i></center>
Anonymous user