From f06c8e27976de26e748974cfaa4b4224d18b0637 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 14 Jul 2022 21:13:42 -0300 Subject: [PATCH] Second wave of Blind fixes for WotLK Classic, I don't have access to beta so these fixes may work or not --- Libs/DF/fw.lua | 4 ++++ boot.lua | 2 +- core/gears.lua | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 567fe058..4978ded0 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -116,6 +116,10 @@ local roleBySpecTextureName = { WarriorArms = "DAMAGER", WarriorFury = "DAMAGER", WarriorProtection = "TANK", + + DeathKnightBlood = "TANK", + DeathKnightFrost = "DAMAGER", + DeathKnightUnholy = "DAMAGER", } --classic, tbc and wotlk role guesser based on the weights of each talent tree diff --git a/boot.lua b/boot.lua index 17fcb724..9c2b5d0f 100644 --- a/boot.lua +++ b/boot.lua @@ -9,7 +9,7 @@ _detalhes.build_counter = 9825 _detalhes.alpha_build_counter = 9825 --if this is higher than the regular counter, use it instead _detalhes.bcc_counter = 41 - _detalhes.wotlk_counter = 1 + _detalhes.wotlk_counter = 2 _detalhes.dont_open_news = true _detalhes.game_version = version _detalhes.userversion = version .. _detalhes.build_counter diff --git a/core/gears.lua b/core/gears.lua index a12c6946..e8dc5ab1 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -2699,6 +2699,10 @@ if (DetailsFramework.IsTBCWow()) then WarriorArms = 71, WarriorFury = 72, WarriorProtection = 73, + + DeathKnightBlood = 250, + DeathKnightFrost = 251, + DeathKnightUnholy = 252, } @@ -2739,6 +2743,10 @@ if (DetailsFramework.IsTBCWow()) then [71] = "WarriorArms", [72] = "WarriorFury", [73] = "WarriorProtection", + + [250] = "DeathKnightBlood", + [251] = "DeathKnightFrost", + [252] = "DeathKnightUnholy", } function Details.IsValidSpecId (specId)