Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-22-18, 09:47 AM   #1
Kenjub
A Deviate Faerie Dragon
Join Date: Jul 2018
Posts: 15
Need help with WA2 script for mana percentage

Hi! This worked fine pre 8.0, but as of 8.0 it just doesn't display anything:

Code:
function()
    local percent = (UnitMana("player")/UnitManaMax("player"))*100
    return floor(percent+0.5).."%"
end
what's wrong? Thanks!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Need help with WA2 script for mana percentage


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