View Single Post
10-02-18, 08:10 PM   #7
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
As the linked code above shows, UnitPower has two arguments: unit and type. Type is a number and is one of the numbers I posted above.

Usage: UnitPower(unit,type)

This returns player mana: UnitPower("player",0)

This returns player insanity: UnitPower("player",13)

This returns max player mana: UnitPowerMax("player",0)

This returns max player insanity: UnitPowerMax("player",13)
  Reply With Quote