Gets the mana of the secondary class from a given unit.
UnitSkill(UnitId)
Parameters[]
Arguments[]
- UnitId
- string - A UnitId (e.g. "player", "target", "party1", "raid1", etc..).
Returns[]
- number
- number - Current amount of mana / rage etc of the secondary class of a given unit. Returns 0 if the specified unit does not exist (eg. "target" given but there is no target).
Example[]
-- Print your secondary class mana to the Guild channel.
SendChatMessage("My mana is " .. UnitSkill("player"),"GUILD")
Notes[]