Remove tww check
This commit is contained in:
@@ -28,31 +28,6 @@ do
|
|||||||
local UnitDebuff = UnitDebuff or C_UnitAuras.GetDebuffDataByIndex
|
local UnitDebuff = UnitDebuff or C_UnitAuras.GetDebuffDataByIndex
|
||||||
Details222.UnitDebuff = UnitDebuff
|
Details222.UnitDebuff = UnitDebuff
|
||||||
|
|
||||||
if (DetailsFramework.IsWarWow()) then
|
|
||||||
Details222.GetSpellInfo = function(...)
|
|
||||||
local result = GetSpellInfo(...)
|
|
||||||
if result then
|
|
||||||
return result.name, 1, result.iconID
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
Details222.UnitBuff = function(unitToken, index, filter)
|
|
||||||
local auraData = C_UnitAuras.GetBuffDataByIndex(unitToken, index, filter)
|
|
||||||
if (not auraData) then
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return AuraUtil.UnpackAuraData(auraData)
|
|
||||||
end
|
|
||||||
|
|
||||||
Details222.UnitDebuff = function(unitToken, index, filter)
|
|
||||||
local auraData = C_UnitAuras.GetDebuffDataByIndex(unitToken, index, filter)
|
|
||||||
if (not auraData) then
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
return AuraUtil.UnpackAuraData(auraData)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
---@class compare : frame
|
---@class compare : frame
|
||||||
---@field mainPlayerObject actor the actor object of the main player being compared
|
---@field mainPlayerObject actor the actor object of the main player being compared
|
||||||
---@field isComparisonTab boolean indicates this frame is part of the comparison tab
|
---@field isComparisonTab boolean indicates this frame is part of the comparison tab
|
||||||
|
|||||||
Reference in New Issue
Block a user