API:UnitMana

Gets the current mana of the primary class from a given unit.

Arguments

 * UnitId
 * string - A UnitId (e.g. "player", "target", "party1", "raid1", etc..)

Returns

 * number
 * number - Current amount of mana / rage etc of the primary class of the given unit. Returns 0 if the specified unit does not exist (eg. "target" given but there is no target).

Related Functions

 * UnitManaType
 * UnitSkill