Merge branch 'master' of https://github.com/Tercioo/Details-Damage-Meter
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user