Merge pull request #345 from Flamanis/WrathSpecGuess

Change check for IsTBCWow to IsWotLKWow
This commit is contained in:
Tercio Jose
2022-09-04 14:11:43 -03:00
committed by GitHub
2 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -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)
+2 -2
View File
@@ -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
end