View Single Post
05-25-13, 04:31 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Darn, was hoping no one would notice that little oversight. But unless there is a list out there somewhere that tells you the new xp per level the change will have to wait until I get my last two 85s to 90 rofl.

edit1:
Of course the following functions would work :

local currXP = UnitXP("player");
local nextXP = UnitXPMax("player");

But not sure if nUI's xp bar is coded to work that way instead of the big table of values.

edit2:
However, looking at the xp bar code Scott is using those values above for the bar but is also using the hardcoded level values for some reason. Unfortunately Im not sure what that code is doing exactly to know if it needs to be there or not now.
__________________

Last edited by Xrystal : 05-25-13 at 04:51 PM.