WoW:API UnitStat: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 8: Line 8:
;''Arguments''
;''Arguments''


:;unit : String - The [[API TYPE UnitId|UnitId]] to get information from. (Likely only works for <tt>"player"</tt> and <tt>"pet"</tt> -- unconfirmed)
:;unit : String - The [[API TYPE UnitId|UnitId]] to get information from. (Only works for <tt>"player"</tt> and <tt>"pet"</tt>. Will work on <tt>"target"</tt> as long as it is equal to <tt>"player"</tt>)


:;statID : Number - An internal id corresponding to one of the stats. (1-5)
:;statID : Number - An internal id corresponding to one of the stats. (1-5)
Anonymous user