WaaaghBar

19 - Rest Bonus Display

It would be appreciated if the xp plugin could show remaining rest.  My thoughts were to make the text of the experience numbers change color (light blue?) while you have rest, and revert back to default after you are out.  Combine this functionality with a tooltip that would show you the amount of rest you have on hover over and I'd be set!

User When Change
Arvec Wed, 08 Oct 2008 13:34:16 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of MagikMan74 MagikMan74 Thu, 16 Oct 2008 14:53:09

    Obviously that doesn't give you the colors, but it at least let's you know the numbers. :)

    edit:

    one thing to note, there seems to be a limit/bug to the rested xp that the game reports. To really test this I logged onto a lvl33 character I have that has been sitting still (in camp) for a week or so. When I first logged on it said I had 5k in rested xp... I killed enough for that to pass and it jumped to 41k as soon as I ran through it. It cycled through the 41k amount 3 times. So all in all I had about 130k in rested xp but it never showed over that 41k amount.

  • Avatar of MagikMan74 MagikMan74 Thu, 16 Oct 2008 14:52:02

    Turns out this is a very simple fix. If you open up the WaaaghBar_Stats.lua (you can use notepad if you wish) you can make the following changes:

    Look for:

    function Stats.OnPlayerExperienceUpdated()
        local curExperienceEarned = GameData.Player.Experience.curXpEarned
        local curExperienceNeeded = GameData.Player.Experience.curXpNeeded
        local curExperiencePrcent = curExperienceEarned / curExperienceNeeded * 100
        Stats.Exp:SetText(towstring(string.format("%i / %i (%.2f%%)", curExperienceEarned, curExperienceNeeded, curExperiencePrcent)))
    end
    

    Change to:

    function Stats.OnPlayerExperienceUpdated()
        local curRestXp = GameData.Player.Experience.restXp
        local curExperienceEarned = GameData.Player.Experience.curXpEarned
        local curExperienceNeeded = GameData.Player.Experience.curXpNeeded
        local curExperiencePrcent = curExperienceEarned / curExperienceNeeded * 100
        Stats.Exp:SetText(towstring(string.format("%i / %i (%.2f%%)| %i", curExperienceEarned, curExperienceNeeded, curExperiencePrcent, curRestXp)))
    end
    

    What it will now show inside the waaaghbar is something like:

        38418/66830 (57.49%)| 14763
    

    The last number shows how much rested xp you have. It counts down as you kill things, since that's all rested xp is based off of. So if you killed something and got 200xp you would then be at 14563.

  • 2 comments

Facts

Last updated on
27 Oct 2008
Reported on
08 Oct 2008
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +20, Average: +2.0)