ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   BUG: OnExperienceUpdate(previousExperience) on 49 -> Champ Level transition (https://www.esoui.com/forums/showthread.php?t=6785)

ArtOfShred 02/05/17 04:39 AM

BUG: OnExperienceUpdate(previousExperience) on 49 -> Champ Level transition
 
In the process of making experience update readouts in chat for LUI, I discovered an issue with the previousExperience value returned by OnExperienceUpdate when the player transitions from Level 49 --> Champion Levels.

Normally when you level up, if you have 500 XP to go, and gain 1500, you now have 1000 XP that is applied toward the next level. However, when transitioning to Champion Levels, you are set at 0 XP for the current champion point.

The value for previousExperience doesn't seem to be updating correctly to read 0. I'm not sure if currentExperience is correct either, but it's always relative so I assume its just the sum of previousExperience + change.



Note that I had 0 experience at Champion Level 634 when I gained that 1241, which should have brought me to a total currentExperience of 1241. Any events following this the values update and display correctly, its just incorrect on the first experience gain after hitting Champion Levels.


All times are GMT -6. The time now is 05:56 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI