From 34a13773348de2bdcf1980c1c5d13ef0aae6d6d8 Mon Sep 17 00:00:00 2001 From: FelixPflaum <141590183+FelixPflaum@users.noreply.github.com> Date: Mon, 26 Feb 2024 04:09:54 +0100 Subject: [PATCH] SoD: Add priest and shaman as supported --- Conditional_Vanilla.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Conditional_Vanilla.lua b/Conditional_Vanilla.lua index d5655b8..dc37031 100644 --- a/Conditional_Vanilla.lua +++ b/Conditional_Vanilla.lua @@ -6,8 +6,8 @@ Env.prelink = "https://wowsims.github.io/sod/" Env.supportedClasses = { "hunter", -- "mage", - -- "shaman", - -- "priest", + "shaman", + "priest", -- "rogue", "druid", "warrior", @@ -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) @@ -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)