Blind fixes for WotLK Classic, I don't have access to beta so these fixes may work or not
This commit is contained in:
+10
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user