Blind fixes for WotLK Classic, I don't have access to beta so these fixes may work or not

This commit is contained in:
Tercio Jose
2022-07-14 19:41:49 -03:00
parent 195934812f
commit ebb9c10a98
4 changed files with 31 additions and 4 deletions
+10 -2
View File
@@ -1,6 +1,6 @@
local dversion = 322
local dversion = 323
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
@@ -52,7 +52,7 @@ if (not PixelUtil) then
end
function DF.IsTimewalkWoW()
return DF.IsClassicWow() or DF.IsTBCWow()
return DF.IsClassicWow() or DF.IsTBCWow() or DF.IsWotLKWow()
end
function DF.IsClassicWow()
@@ -71,6 +71,14 @@ function DF.IsTBCWow()
return false
end
function DF.IsWotLKWow()
local gameVersion = GetBuildInfo()
if (gameVersion:match ("%d") == "3") then
return true
end
return false
end
local roleBySpecTextureName = {
DruidBalance = "DAMAGER",
DruidFeralCombat = "DAMAGER",