mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
possible fix to show stacks properly
possible fix to show stacks properly
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user