diff --git a/core/gears.lua b/core/gears.lua index dc7551cb..06c47929 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") @@ -2549,6 +2549,12 @@ if (DetailsFramework.IsTBCWow()) 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) 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