Skip to content

Commit 8d8b6fc

Browse files
committed
turn off debuffType for now
1 parent 0ecb6e7 commit 8d8b6fc

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

Elements/Auras.lua

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ local function StyleAuras(_, button, unit, auraType)
137137
auraOverlay:SetPoint("BOTTOMRIGHT", button, "BOTTOMRIGHT", -1, 1)
138138
auraOverlay:SetTexCoord(0, 1, 0, 1)
139139
end
140-
141-
-- local auraInstanceID = button.auraInstanceID
142-
-- local hasExpiration = C_UnitAuras.DoesAuraHaveExpirationTime(unit, auraInstanceID)
143140
end
144141

145142
local function RestyleAuras(_, button, unit, auraType)
@@ -217,8 +214,8 @@ local function CreateUnitBuffs(unitFrame, unit)
217214
unitFrame.BuffContainer.anchoredButtons = 0
218215
unitFrame.BuffContainer.createdButtons = 0
219216
unitFrame.BuffContainer.tooltipAnchor = "ANCHOR_CURSOR"
220-
unitFrame.BuffContainer.showType = BuffsDB.ShowType
221-
unitFrame.BuffContainer.showBuffType = BuffsDB.ShowType
217+
unitFrame.BuffContainer.showType = false
218+
unitFrame.BuffContainer.showBuffType = false
222219
unitFrame.BuffContainer.dispelColorCurve = C_CurveUtil.CreateColorCurve()
223220
unitFrame.BuffContainer.dispelColorCurve:SetType(Enum.LuaCurveType.Step)
224221
for _, dispelIndex in next, oUF.Enum.DispelType do
@@ -260,8 +257,8 @@ local function CreateUnitDebuffs(unitFrame, unit)
260257
unitFrame.DebuffContainer.createdButtons = 0
261258
unitFrame.DebuffContainer.PostCreateButton = function(_, button) StyleAuras(_, button, unit, "HARMFUL") end
262259
unitFrame.DebuffContainer.tooltipAnchor = "ANCHOR_CURSOR"
263-
unitFrame.DebuffContainer.showType = DebuffsDB.ShowType
264-
unitFrame.DebuffContainer.showDebuffType = DebuffsDB.ShowType
260+
unitFrame.DebuffContainer.showType = false
261+
unitFrame.DebuffContainer.showDebuffType = false
265262
unitFrame.DebuffContainer.dispelColorCurve = C_CurveUtil.CreateColorCurve()
266263
unitFrame.DebuffContainer.dispelColorCurve:SetType(Enum.LuaCurveType.Step)
267264
for _, dispelIndex in next, oUF.Enum.DispelType do
@@ -310,8 +307,8 @@ function UUF:UpdateUnitAuras(unitFrame, unit)
310307
unitFrame.BuffContainer.createdButtons = unitFrame.Buffs.createdButtons or 0
311308
unitFrame.BuffContainer.anchoredButtons = unitFrame.Buffs.anchoredButtons or 0
312309
unitFrame.BuffContainer.PostCreateButton = function(_, button) StyleAuras(_, button, unit, "HELPFUL") end
313-
unitFrame.BuffContainer.showType = BuffsDB.ShowType
314-
unitFrame.BuffContainer.showBuffType = BuffsDB.ShowType
310+
unitFrame.BuffContainer.showType = false
311+
unitFrame.BuffContainer.showBuffType = false
315312
unitFrame.BuffContainer:Show()
316313
else
317314
unitFrame.BuffContainer:Hide()
@@ -341,8 +338,8 @@ function UUF:UpdateUnitAuras(unitFrame, unit)
341338
unitFrame.DebuffContainer.createdButtons = unitFrame.Debuffs.createdButtons or 0
342339
unitFrame.DebuffContainer.anchoredButtons = unitFrame.Debuffs.anchoredButtons or 0
343340
unitFrame.DebuffContainer.PostCreateButton = function(_, button) StyleAuras(_, button, unit, "HARMFUL") end
344-
unitFrame.DebuffContainer.showType = DebuffsDB.ShowType
345-
unitFrame.DebuffContainer.showDebuffType = DebuffsDB.ShowType
341+
unitFrame.DebuffContainer.showType = false
342+
unitFrame.DebuffContainer.showDebuffType = false
346343
unitFrame.DebuffContainer:Show()
347344
else
348345
unitFrame.DebuffContainer:Hide()

0 commit comments

Comments
 (0)