Skip to content

Commit

Permalink
[Core] Remove T.Wrath341 constant
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed Oct 24, 2023
1 parent 6d1f4ec commit 70d81e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion ShestakUI/Core/Constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 1 addition & 10 deletions ShestakUI/Modules/ActionBars/Bar1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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;",
Expand All @@ -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;",
Expand Down

0 comments on commit 70d81e6

Please sign in to comment.