Download
(4Kb)
Download
Updated: 08-26-08 01:47 PM
Pictures
File Info
Updated:08-26-08 01:47 PM
Created:unknown
Downloads:3,261
Favorites:10
MD5:

How long until level 70

Version: 2.3
by: Shiny1611 [More]

A frame showing the XP you need to get to level 70, also shows XP needed for next level, how much rested XP you have, and total XP gained so far.

Commands:
/xphl show
/xphl hide

Optional Files (0)


Post A Reply Comment Options
Unread 08-27-08, 04:18 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Good idea. However, your coding could use some work.

- Why on earth are you checking the player's level and running through 70 if-then-elses ten times every second? You could update the frame much more efficiently by watching the PLAYER_LEVEL_UP and PLAYER_UPDATE_XP events.

- The number of globals you're creating is cringe-worthy. Turn all those variables at the top of your file into locals.

- You don't need to create and update a variable just to tell you if the frame is visible. Use the existing frame:IsShown() API method.
Report comment to moderator  
Reply With Quote
Unread 08-27-08, 08:02 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Suggested feature

May I suggest showing XP/hour and the estimated time to 70 based on current XP rate. Might be interesting. Could be depressing as well. Still would like to see it. Thanks.
Report comment to moderator  
Reply With Quote
Unread 08-26-08, 08:15 PM  
Icecoldcoke
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 64
Uploads: 7
Great addon!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: