From d65d6d08bd10348a009f278a17c437d6c60585a3 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Sun, 4 Sep 2022 05:47:41 -0500 Subject: [PATCH 1/3] Change check for IsTBCWow to IsWotLKWow I got the capitalization correct this time I swear. I triple checked it! --- functions/spells.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/spells.lua b/functions/spells.lua index bb5a1d04..80e11044 100644 --- a/functions/spells.lua +++ b/functions/spells.lua @@ -8,7 +8,7 @@ do _detalhes.PotionList [spellID] = true end - if (DetailsFramework.IsTBCWow()) then + if (DetailsFramework.IsWotLKWow()) then _detalhes.SpecSpellList = { --~spec -- Balance Druid: @@ -3379,4 +3379,4 @@ function Details.StoreSpells() SplitLoadFrame:SetScript ("OnUpdate", SplitLoadFunc) SplitLoadFrame.NextActorContainer = 1 SplitLoadFrame.NextActorIndex = 1 -end \ No newline at end of file +end From d2254f51f1a4881305809b3a826ac04ee06bd940 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Sun, 4 Sep 2022 09:48:18 -0500 Subject: [PATCH 2/3] Send spec data in Wrath --- core/gears.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/gears.lua b/core/gears.lua index dc7551cb..1cbf6b68 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -2358,7 +2358,7 @@ function Details:DecompressData (data, dataType) end --oldschool talent tree -if (DetailsFramework.IsTBCWow()) then +if (DetailsFramework.IsWotLKWow()) then local talentWatchClassic = CreateFrame ("frame") talentWatchClassic:RegisterEvent("CHARACTER_POINTS_CHANGED") talentWatchClassic:RegisterEvent("SPELLS_CHANGED") From df3430ac726359c4cb68cdf7c1521caef891b8e6 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Sun, 4 Sep 2022 09:56:59 -0500 Subject: [PATCH 3/3] Add DK into GetRoleFromSpec --- core/gears.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/gears.lua b/core/gears.lua index 1cbf6b68..06c47929 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -2549,6 +2549,12 @@ if (DetailsFramework.IsWotLKWow()) then [71] = "DAMAGER", --ARMS [72] = "DAMAGER", --FURY [73] = "TANK", --PROT + + --Death Knight + [250] = "TANK", --Blood + [251] = "DAMAGER", --Frost + [252] = "DAMAGER", --Unholy + } function _detalhes:GetRoleFromSpec (specId, unitGUID)