From 229949f11f3ec766161bdefc1464cc423d83255c Mon Sep 17 00:00:00 2001 From: Ou Junhui Date: Fri, 30 Sep 2022 19:35:29 +0800 Subject: [PATCH] force max level to 80 --- rStatusButton/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5