Skip to content

Commit

Permalink
Set mage, paladin and rogue as supported classes for sod
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixPflaum committed Mar 9, 2024
1 parent 34a1377 commit eafda8b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
16 changes: 7 additions & 9 deletions Conditional_Vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ Env.prelink = "https://wowsims.github.io/sod/"

Env.supportedClasses = {
"hunter",
-- "mage",
"mage",
"shaman",
"priest",
-- "rogue",
"rogue",
"druid",
"warrior",
"warlock",
-- "paladin",
"paladin",
}

local TblMaxValIdx = Env.TableMaxValIndex
Expand All @@ -35,7 +35,6 @@ Env.AddSpec("druid", "feral", "feral_druid", function(t)
or Env.StatBiggerThanStat("agi", "int")
or Env.StatBiggerThanStat("str", "int")
end)
--Env.AddSpec("druid", "feral_bear", "feral_tank_druid", function(t) return t[2] > t[1] and t[2] > t[3] end)

local function HasMetamorphRune()
return Env.GetEngravedRuneSpell(10) == 403789
Expand All @@ -45,9 +44,9 @@ Env.AddSpec("warlock", "demonology", "warlock", function(t) return not HasMetamo
Env.AddSpec("warlock", "destruction", "warlock", function(t) return not HasMetamorphRune() and TblMaxValIdx(t) == 3 end)
Env.AddSpec("warlock", "warlocktank", "tank_warlock", function(t) return HasMetamorphRune() end)

-- Env.AddSpec("rogue", "assassination", "rogue", function(t) return TblMaxValIdx(t) == 1 end)
-- Env.AddSpec("rogue", "combat", "rogue", function(t) return TblMaxValIdx(t) == 2 end)
-- Env.AddSpec("rogue", "subtlety", "rogue", function(t) return TblMaxValIdx(t) == 3 end)
Env.AddSpec("rogue", "assassination", "rogue", function(t) return TblMaxValIdx(t) == 1 end)
Env.AddSpec("rogue", "combat", "rogue", function(t) return TblMaxValIdx(t) == 2 end)
Env.AddSpec("rogue", "subtlety", "rogue", function(t) return TblMaxValIdx(t) == 3 end)

Env.AddSpec("mage", "arcane", "mage", function(t) return TblMaxValIdx(t) == 1 end)
Env.AddSpec("mage", "fire", "mage", function(t) return TblMaxValIdx(t) == 2 end)
Expand All @@ -56,7 +55,6 @@ 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("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("paladin", "retribution", "retribution_paladin", function(t) return true end)

Env.AddSpec("priest", "shadow", "shadow_priest", function(t) return true end)
4 changes: 2 additions & 2 deletions Conditional_Wrath.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ Env.AddSpec("warrior", "arms", "warrior", function(t) return TblMaxValIdx(t) ==
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("paladin", "protection", "protection_paladin", function(t) return TblMaxValIdx(t) == 2 end)
Env.AddSpec("paladin", "retribution", "retribution_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)
Expand Down
2 changes: 1 addition & 1 deletion WowSimsExporter-Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Title: WowSimsExporter v2.8 |cffff8000Classic SoD|r
## Version: 2.8
## Version: 2.9
## Author: generalwrex(Natop of Old Blanchy), namreeb, coolmodi(FelixPflaum), riotdog
## Interface: 11500
## Notes: This is an exporter written to quickly export your character to https://wowsims.github.io/sod/ for simulations.
Expand Down
2 changes: 1 addition & 1 deletion WowSimsExporter-Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Title: WowSimsExporter v2.8 |c0000ffffWOTLK|r
## Version: 2.8
## Version: 2.9
## Author: generalwrex(Natop of Old Blanchy), namreeb, coolmodi(FelixPflaum), riotdog
## Interface: 30403
## Notes: This is an exporter written to quickly export your character to https://wowsims.github.io/wotlk/ for simulations.
Expand Down

0 comments on commit eafda8b

Please sign in to comment.