possible fix to show stacks properly

possible fix to show stacks properly
This commit is contained in:
Meow
2026-02-24 18:37:22 +01:00
parent 04a2413d72
commit f17bd34d72
+2 -3
View File
@@ -423,9 +423,8 @@ local function GetDebuffSlotMap(guid)
local spellName = SpellInfo(spellId)
local texture = libdebuff:GetSpellIcon(spellId)
-- Get stacks from auraApplications (extract immediately - reusable table)
local stacks = auraApps and auraApps[auraSlot] or 0
if stacks == 0 then stacks = 1 end -- 0 means 1 stack (no stacking)
-- Get stacks from auraApplications (0-indexed, so +1 for display)
local stacks = (auraApps and auraApps[auraSlot] or 0) + 1
-- Get debuff type from SpellRec DBC
local dtype = nil