force max level to 80
Ou Junhui [09-30-22 - 11:35]
diff --git a/rStatusButton/core.lua b/rStatusButton/core.lua
index db95976..2bcf8d8 100644
--- a/rStatusButton/core.lua
+++ b/rStatusButton/core.lua
@@ -49,7 +49,7 @@ local function OnEnter(self)
GameTooltip:SetOwner(self, "ANCHOR_TOP")
GameTooltip:AddLine(self:GetName(), 1, 0.5, 0, 1, 1, 1)
--experience
- if UnitLevel("player") < 70 then -- MAX_PLAYER_LEVEL then -- classic-disable --and not IsXPUserDisabled() then
+ if UnitLevel("player") < 80 then -- MAX_PLAYER_LEVEL then -- classic-disable --and not IsXPUserDisabled() then
local cur, max = UnitXP("player"), UnitXPMax("player")
local lvl = UnitLevel("player")
local rested = GetXPExhaustion() or 0