WoW:API UnitHealth: Difference between revisions

Clarified when a percentage is returned and when real health points are returned
No edit summary
(Clarified when a percentage is returned and when real health points are returned)
Line 38: Line 38:
;''Description''
;''Description''


: Returns the current health of the specified unit, in percentage, for:
: Returns the current health of the specified unit. The health is returned in real points only if the unit is in the player's party. Otherwise, a percentage is returned (0-100). (Note, that the player, the player's pet, and any party member pets are considered to be in the party.)
 
*target
*mouseover
 
Otherwise in points.


----
----
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user