View Single Post
03-19-13, 04:52 PM   #10
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
In the end it turns out my XP bar works perfectly fine, it's just that the roommate was level 90.

So now I suppose I should get it to check for level and if layer is capped turn it off. (not sure how to do this, but a quick API search should prove fruitful)

EDIT:
maybe something like
Lua Code:
  1. if playerMaxXP = UnitXPMax("player") then
  2.   return
  3. else
  4.   --XP bar code here
  5. end

not sure if that's correct

Maybe I can finally get around to adding rep support I've never really been concerned with.
__________________
Tweets YouTube Website

Last edited by 10leej : 03-19-13 at 05:04 PM.
  Reply With Quote