Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-04-12, 05:49 AM   #21
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yeah, that's true for power.
Code:
if ppmax == 0 then
    return HideManaBarAndStuff()
end
UpdateManaBarAndStuff()
The other stuff is still relevant for health, XP, etc. though since those shouldn't ever return a max of 0 under "normal" use conditions.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF for MoP beta


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