This commit is contained in:
Tercio Jose
2022-07-23 13:44:07 -03:00
8 changed files with 170 additions and 5 deletions
+2 -2
View File
@@ -39,9 +39,9 @@ DF.AuthorInfo = {
local PixelUtil = PixelUtil or DFPixelUtil
if (not PixelUtil) then
--check if is in classic or TBC wow, if it is, build a replacement for PixelUtil
--check if is in classic, TBC, or WotLK wow, if it is, build a replacement for PixelUtil
local gameVersion = GetBuildInfo()
if (gameVersion:match("%d") == "1" or gameVersion:match("%d") == "2") then
if (gameVersion:match("%d") == "1" or gameVersion:match("%d") == "2" or gameVersion:match("%d") == "3") then
PixelUtil = {
SetWidth = function (self, width) self:SetWidth (width) end,
SetHeight = function (self, height) self:SetHeight (height) end,
+1 -1
View File
@@ -13,7 +13,7 @@ local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0")
local isTimewalkWoW = function()
local gameVersion = GetBuildInfo()
if (gameVersion:match("%d") == "1" or gameVersion:match("%d") == "2") then
if (gameVersion:match("%d") == "1" or gameVersion:match("%d") == "2" or gameVersion:match("%d") == "3") then
return true
end
end
+1 -1
View File
@@ -131,7 +131,7 @@ LIB_OPEN_RAID_CAN_LOAD = false
local isTimewalkWoW = function()
local gameVersion = GetBuildInfo()
if (gameVersion:match("%d") == "1" or gameVersion:match("%d") == "2") then
if (gameVersion:match("%d") == "1" or gameVersion:match("%d") == "2" or gameVersion:match("%d") == "3") then
return true
end
end
+3
View File
@@ -968,6 +968,9 @@ if (GetBuildInfo():match ("%d") == "1") then
elseif (GetBuildInfo():match ("%d") == "2") then
LIB_OPEN_RAID_SPELL_CUSTOM_NAMES = {}
elseif (GetBuildInfo():match ("%d") == "3") then
LIB_OPEN_RAID_SPELL_CUSTOM_NAMES = {}
else
LIB_OPEN_RAID_SPELL_CUSTOM_NAMES = {
[44461] = {name = GetSpellInfo(44461) .. " (" .. L["STRING_EXPLOSION"] .. ")"}, --Living Bomb (explosion)