fix debuff and buff tracking

This commit is contained in:
Jrc13245
2026-03-06 18:55:39 -05:00
parent 2f698403e5
commit 34190ccbd8
4 changed files with 242 additions and 129 deletions
+7 -5
View File
@@ -5548,11 +5548,13 @@ ev:SetScript("OnEvent", function()
end
end
-- Also clean AllCasterAuraTracking (existing system)
if CleveRoids.AllCasterAuraTracking[guid] then
CleveRoids.AllCasterAuraTracking[guid][spellId] = nil
if not next(CleveRoids.AllCasterAuraTracking[guid]) then
CleveRoids.AllCasterAuraTracking[guid] = nil
-- Also clean AllCasterAuraTracking (keyed by spellName)
if spellName and CleveRoids.AllCasterAuraTracking[guid] then
if CleveRoids.AllCasterAuraTracking[guid][spellName] then
CleveRoids.AllCasterAuraTracking[guid][spellName] = nil
if not next(CleveRoids.AllCasterAuraTracking[guid]) then
CleveRoids.AllCasterAuraTracking[guid] = nil
end
end
end