You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
@@ -240,12 +241,11 @@ function STATUSBTN:XPBar_OnEvent(event, ...)
240
241
241
242
242
243
ifself.elements.SB.curXPType=="player_xp" and (event=="PLAYER_XP_UPDATE" orevent=="PLAYER_ENTERING_WORLD" orevent=="UPDATE_EXHAUSTION" orevent=="changed_curXPType") then
243
-
244
244
currXP, nextXP, isRested=self:xpstrings_Update()
245
245
ifisRestedorUnitLevel("player") ==MAX_PLAYER_LEVELthen--don't show rested XP as exhausted if we are max level
self.elements.SB:SetStatusBarColor(0.58, 0.0, 0.55, 1.0) --deep purple color
249
249
end
250
250
hasChanged=true;
251
251
end
@@ -260,13 +260,13 @@ function STATUSBTN:XPBar_OnEvent(event, ...)
260
260
261
261
ifself.elements.SB.curXPType=="azerite_xp" and (event=="AZERITE_ITEM_EXPERIENCE_CHANGED" orevent=="PLAYER_ENTERING_WORLD" orevent=="PLAYER_EQUIPMENT_CHANGED" orevent=="changed_curXPType") then
262
262
currXP, nextXP=self:xpstrings_Update()
263
-
self.elements.SB:SetStatusBarColor(1, 1, 0)--set to yellow
263
+
self.elements.SB:SetStatusBarColor(ARTIFACT_BAR_COLOR:GetRGB())--set to pale yellow
264
264
hasChanged=true
265
265
end
266
266
267
267
ifself.elements.SB.curXPType=="honor_points" and (event=="HONOR_XP_UPDATE" orevent=="PLAYER_ENTERING_WORLD" orevent=="changed_curXPType") then
268
268
currXP, nextXP=self:xpstrings_Update()
269
-
self.elements.SB:SetStatusBarColor(1, .4, .4) --set to red
269
+
self.elements.SB:SetStatusBarColor(1.0, 0.24, 0) --set to red
270
270
hasChanged=true
271
271
end
272
272
@@ -1777,9 +1777,6 @@ function STATUSBTN:SetData(bar)
0 commit comments