Quantcast Has anything changed regarding class bars? - WoWInterface
Thread Tools Display Modes
07-24-18, 12:01 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,729
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
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 07-24-18 at 12:50 PM.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Has anything changed regarding class bars?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off