mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
Cap rested xp at 113% on turtle wow
This commit is contained in:
@@ -4,7 +4,11 @@ pfUI:RegisterModule("xpbar", function ()
|
||||
|
||||
-- Rested-XP gain tracking constants
|
||||
local REST_WINDOW = 300 -- seconds of sliding-window samples for rate calc
|
||||
|
||||
local REST_CAP_MUL = 1.5 -- target rested cap = UnitXPMax * 1.5
|
||||
if IsTurtleWoW() then
|
||||
REST_CAP_MUL = 1.13
|
||||
end
|
||||
|
||||
local data = CreateFrame("Frame", "pfExperienceBarData", UIParent)
|
||||
data.rest_samples = {}
|
||||
|
||||
Reference in New Issue
Block a user