Implementation of Issue 479 (EXP bar and pop ups work with mastery) #568
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had found this issue/feature request (I came here looking to make the same request): #479
and decided to try and implement it myself. This bit of code should get the XP text over the player's head functioning past level 25 (which is apparently what the game code considers max overall level before mastery). It also implements the other portion of the feature request about the graph showing progress on the current mastery Level.
There are 3 things I wanted to note that are still "TODO" items:1) I tried making the color of the bar match the color that was used on the mastery progress bar in the main UI but i can't seem to get the color right no matter what I do. It seems to be over-saturating anything I put in.2) UI Info suite seems to have some way of accessing the game's icons through a rect based system (I assume tied to a sprite sheet). I don't know where this sheet is or what the coordinates would be for a "star" icon, so i used the luck icon for now since that was already implemented and is currently unused.3) Due to the amount of EXP needed for mastery levels, it overflows the bar quite easily. I tried bumping up the "MaxBarWidth" value in DisplayedExperienceBar.cs but it didn't seem to affect anything. I have noticed it overflowing during normal gameplay before, so i'm not sure if this is a dealbreaker for this pull request or not.