Skip to content

Commit

Permalink
SoD: Add priest and shaman as supported
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixPflaum committed Feb 26, 2024
1 parent a0f6c4c commit 34a1377
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Conditional_Vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Env.prelink = "https://wowsims.github.io/sod/"
Env.supportedClasses = {
"hunter",
-- "mage",
-- "shaman",
-- "priest",
"shaman",
"priest",
-- "rogue",
"druid",
"warrior",
Expand All @@ -17,8 +17,8 @@ Env.supportedClasses = {

local TblMaxValIdx = Env.TableMaxValIndex

--Env.AddSpec("shaman", "elemental", "elemental_shaman", function(t) return TblMaxValIdx(t) == 1 end)
--Env.AddSpec("shaman", "enhancement", "enhancement_shaman", function(t) return TblMaxValIdx(t) == 2 end)
Env.AddSpec("shaman", "elemental", "elemental_shaman", function(t) return TblMaxValIdx(t) == 1 end)
Env.AddSpec("shaman", "enhancement", "enhancement_shaman", function(t) return TblMaxValIdx(t) == 2 end)

Env.AddSpec("hunter", "beast_mastery", "hunter", function(t) return TblMaxValIdx(t) == 1 end)
Env.AddSpec("hunter", "marksman", "hunter", function(t) return TblMaxValIdx(t) == 2 end)
Expand Down Expand Up @@ -55,10 +55,8 @@ Env.AddSpec("mage", "frost", "mage", function(t) return TblMaxValIdx(t) == 3 end

Env.AddSpec("warrior", "arms", "warrior", function(t) return TblMaxValIdx(t) == 1 end)
Env.AddSpec("warrior", "fury", "warrior", function(t) return TblMaxValIdx(t) == 2 end)
--Env.AddSpec("warrior", "protection", "protection_warrior", function(t) return TblMaxValIdx(t) == 3 end)

--Env.AddSpec("paladin", "protection", "retribution_paladin", function(t) return TblMaxValIdx(t) == 2 end)
--Env.AddSpec("paladin", "retribution", "protection_paladin", function(t) return TblMaxValIdx(t) == 3 end)

--Env.AddSpec("priest", "shadow", "shadow_priest", function(t) return TblMaxValIdx(t) == 3 end)
--Env.AddSpec("priest", "holy_disc", "healing_priest", function(t) return TblMaxValIdx(t) < 3 end)
Env.AddSpec("priest", "shadow", "shadow_priest", function(t) return true end)

0 comments on commit 34a1377

Please sign in to comment.