Remove IsWarWow
This commit is contained in:
parent
1a4a06d101
commit
89f47690a3
1 changed files with 0 additions and 25 deletions
25
boot.lua
25
boot.lua
|
|
@ -170,31 +170,6 @@
|
|||
local UnitDebuff = UnitDebuff or C_UnitAuras.GetDebuffDataByIndex
|
||||
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
|
||||
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--initialization stuff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue