Lua Unit GetPower

Parameters

 * (powerType)


 * powerType
 * Id of the power type to get (see known values).

Details

 * type
 * integer


 * value
 * How much of the specified power this unit has.

Known Values

 * Health = -2
 * Mana = 0,
 * Rage = 1
 * Focus = 2
 * Energy = 3
 * Happiness = 4
 * Rune = 5
 * RunicPower = 6
 * WarlockSoulShards = 7
 * DruidEclipse = 8
 * PaladinHolyPower = 9
 * BossAlternatePower = 10
 * UnusedDarkForce = 11
 * MonkLightForceChi = 12
 * PriestShadowOrbs = 13
 * WarlockDestructionBurningEmbers = 14
 * WarlockDemonicFury = 15
 * ComboPoints = 16