WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   Has anything changed regarding class bars? (https://www.wowinterface.com/forums/showthread.php?t=56430)

zork 07-24-18 12:01 PM

Has anything changed regarding class bars?
 
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:
  1. ppcur = UnitPower('player', ClassPowerID, true) or 0
  2. 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


All times are GMT -6. The time now is 02:18 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI