From f17bd34d7268b23d6b463fb4204c4f2b857b79a5 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Tue, 24 Feb 2026 18:37:22 +0100 Subject: [PATCH] possible fix to show stacks properly possible fix to show stacks properly --- libs/libdebuff.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/libdebuff.lua b/libs/libdebuff.lua index 157aae72..d0ba61ac 100644 --- a/libs/libdebuff.lua +++ b/libs/libdebuff.lua @@ -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