WoW:API UnitHealth: Difference between revisions

m
Move page script moved page API UnitHealth to WoW:API UnitHealth without leaving a redirect
(added info about 0 result for non existing target, corrected the example)
m (Move page script moved page API UnitHealth to WoW:API UnitHealth without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
Returns the current health of the specified unit. Returns the exact hitpoints for friendly players and pets in your raid/party, percentages otherwise.
Returns the current health of the specified unit.
  local health = UnitHealth(unit);
  local health = UnitHealth(unit);


Anonymous user