Returns unit's current unit state as an absolute value.
Example: Retrieve a unit's current/max HP and mana:
call GetUnitState(myUnit, UNIT_STATE_MAX_MANA) // returns 285.0 Copy
call GetUnitState(myUnit, UNIT_STATE_MAX_MANA) // returns 285.0
See: SetUnitState.
SetUnitState
Generated using TypeDoc
Returns unit's current unit state as an absolute value.
Example: Retrieve a unit's current/max HP and mana: