Merge pull request #345 from Flamanis/WrathSpecGuess
Change check for IsTBCWow to IsWotLKWow
This commit is contained in:
+7
-1
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user