My class bar module stopped working and I am not sure why.
https://github.com/zorker/rothui/blo.../rClassBar.lua
There is no Lua error. My current understanding is the following:
For arcane mages SPELL_POWER_ARCANE_CHARGES returns nil
Because of that the following is returning the wrong values.
Lua Code:
ppcur = UnitPower('player', ClassPowerID, true) or 0
ppmax = UnitPowerMax('player', ClassPowerID, true)
That still does not tell me why the bar stays hidden. It should be visible, just fully filled because the values returned calculate a value of 100%.
*edit*
Ok ... power types got changed to enum whatever. Currently fixing the module.
https://github.com/zorker/rothui/com...d4925e15c9e022