Factual correction - 3.0 changed it to always return exact health.
(added info about 0 result for non existing target, corrected the example) |
(Factual correction - 3.0 changed it to always return exact health.) |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns the current health of the specified unit | Returns the current health of the specified unit. | ||
local health = UnitHealth(unit); | local health = UnitHealth(unit); | ||