From 70d81e6b29c971ee0c081dde36e0cd61c23b756f Mon Sep 17 00:00:00 2001 From: EsreverWoW <49285632+EsreverWoW@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:18:59 -0500 Subject: [PATCH] [Core] Remove T.Wrath341 constant --- ShestakUI/Core/Constants.lua | 1 - ShestakUI/Modules/ActionBars/Bar1.lua | 11 +---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/ShestakUI/Core/Constants.lua b/ShestakUI/Core/Constants.lua index bc83b2d32..b8fffbcab 100644 --- a/ShestakUI/Core/Constants.lua +++ b/ShestakUI/Core/Constants.lua @@ -20,7 +20,6 @@ T.Classic = _G.WOW_PROJECT_ID == _G.WOW_PROJECT_CLASSIC or _G.WOW_PROJECT_ID == T.Vanilla = _G.WOW_PROJECT_ID == _G.WOW_PROJECT_CLASSIC T.TBC = _G.WOW_PROJECT_ID == _G.WOW_PROJECT_BURNING_CRUSADE_CLASSIC T.Wrath = _G.WOW_PROJECT_ID == _G.WOW_PROJECT_WRATH_CLASSIC -T.Wrath341 = T.Wrath and T.toc >= 30401 T.HiDPI = GetScreenHeight() / T.screenHeight < 0.75 -- BETA diff --git a/ShestakUI/Modules/ActionBars/Bar1.lua b/ShestakUI/Modules/ActionBars/Bar1.lua index 3d031e768..c778f8ebd 100644 --- a/ShestakUI/Modules/ActionBars/Bar1.lua +++ b/ShestakUI/Modules/ActionBars/Bar1.lua @@ -47,7 +47,7 @@ for i = 1, 12 do end local Page = {} -if T.Wrath341 then +if T.Wrath then Page = { ["DRUID"] = "[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10;", ["WARRIOR"] = "[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9;", @@ -56,15 +56,6 @@ if T.Wrath341 then ["WARLOCK"] = "[form:2] 10;", ["DEFAULT"] = "[possessbar] 16; [shapeshift] 17; [overridebar] 18; [vehicleui] 16; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6; [bonusbar: 5] 11;", } -elseif T.Wrath then - Page = { - ["DRUID"] = "[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10;", - ["WARRIOR"] = "[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9;", - ["PRIEST"] = "[bonusbar:1] 7;", - ["ROGUE"] = "[bonusbar:1] 7; [form:3] 7;", - ["WARLOCK"] = "[form:2] 10;", - ["DEFAULT"] = "[possessbar] 12; [shapeshift] 13; [overridebar] 14; [vehicleui] 12; [bonusbar:5] 11; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6;", - } elseif T.Vanilla or T.TBC then Page = { ["DRUID"] = "[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10;",