From 1364c3eeaa134874f319b8213181ad4a41e9359d Mon Sep 17 00:00:00 2001 From: pepopo978 <149287158+pepopo978@users.noreply.github.com> Date: Wed, 1 Jan 2025 19:13:03 -0800 Subject: [PATCH] increase buff/debuff scan max index --- curses.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curses.lua b/curses.lua index 432bd73..2324023 100644 --- a/curses.lua +++ b/curses.lua @@ -113,7 +113,7 @@ function curses:GetCurseDuration(curseSpellID) end function curses:ScanGuidForCurse(guid, curseSpellID) - for i = 1, 16 do + for i = 1, 64 do local _, _, _, spellID = UnitDebuff(guid, i) if spellID then if spellID == curseSpellID then @@ -123,7 +123,7 @@ function curses:ScanGuidForCurse(guid, curseSpellID) break end end - for i = 1, 32 do + for i = 1, 64 do local _, _, spellID = UnitBuff(guid, i) if spellID then if spellID == curseSpellID then