Files
pfUI/modules
Brues c30dfae7a6 xpbar: track rested-XP gain rate + time to cap
The data frame now subscribes to UPDATE_EXHAUSTION and stores a sliding
5-minute window of (time, exhaustion) samples. The XP tooltip uses the
first/last samples in the window to compute rest gain per hour, and
projects time to reach UnitXPMax * 1.5 at the current rate.

Useful for Turtle WoW's tent mechanic — when you stand under a tent
you accumulate rested XP at an accelerated rate, and now you can see
how long until you cap.

Samples reset on PLAYER_ENTERING_WORLD (zone change can change the
gain rate) and PLAYER_LEVEL_UP (Blizzard rescales exhaustion
proportionally on level-up so prior samples no longer describe the
same gain curve).

The rate/time lines only appear when there are at least 2 samples in
the window and the gain is positive — so they stay hidden when not
actively gaining rested XP.
2026-05-22 22:40:35 -05:00
..
2026-05-16 13:02:38 -05:00
2026-05-21 10:40:42 -05:00
2026-05-16 13:02:38 -05:00
2026-01-03 12:58:31 +01:00
2026-05-21 02:35:46 -05:00
2026-05-21 03:10:59 -05:00
2026-05-21 02:35:46 -05:00
2026-05-16 13:02:38 -05:00
2026-01-25 08:44:16 +01:00
2017-07-19 10:35:01 +02:00
2026-05-21 02:35:46 -05:00
2026-03-20 21:02:13 +01:00
2026-04-10 16:33:06 +02:00
2026-03-20 17:25:15 +01:00
2026-03-09 03:06:41 +01:00
2026-05-16 13:02:38 -05:00
2026-01-10 15:28:16 +01:00
2026-02-17 16:59:30 +01:00
2026-05-21 02:35:46 -05:00
2026-05-16 13:02:38 -05:00
2026-01-08 12:25:18 +01:00
2026-05-21 02:35:46 -05:00
2026-02-06 16:32:13 +01:00
2026-05-21 02:35:46 -05:00
2026-01-11 17:00:11 +01:00
2026-03-23 11:37:31 +01:00