Originally Posted by icyblade
UnitPowerMax()/UnitPower() should specify power type now
We use this code now:
Lua Code:
local value = UnitPowerMax(unit)
In Legion we should do something like this:
Lua Code:
local value = UnitPowerMax(unit, UnitPowerType(unit))
|
Not new, this has been in for a few expansions now. Maybe you meant it's not optional any more?