Quantcast Has anything changed regarding class bars? - WoWInterface
Thread Tools Display Modes
07-24-18, 12:01 PM   #1
A Pyroguard Emberseer
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
Has anything changed regarding class bars?

My class bar module stopped working and I am not sure why.

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%.


Ok ... power types got changed to enum whatever. Currently fixing the module.
| 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