From 08dd3ba4dd467b744d177055463ad0b0cef0be16 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Tue, 28 Jul 2026 12:10:54 -0500 Subject: [PATCH] Remove dead code from ComboPointTracker PounceBleedSpellIDs, GetLastComboPointsForSpell, and GetLastDurationForSpell were each definition-only with zero references anywhere in the addon. The Pounce bleed IDs are still covered by BleedSpellIDs (detection) and PounceToBleedMapping (cast->trigger). --- ComboPointTracker.lua | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/ComboPointTracker.lua b/ComboPointTracker.lua index b92b01b..619c93e 100644 --- a/ComboPointTracker.lua +++ b/ComboPointTracker.lua @@ -88,15 +88,6 @@ CleveRoids.RakeSpellIDs = { [9904] = true, -- Rank 4 } --- Pounce Bleed spell IDs (for immunity detection - bleed portion of Pounce) --- Note: Pounce (cast) TRIGGERS a separate Pounce Bleed spell with different IDs --- Cast IDs: 9005, 9823, 9827 → Trigger Bleed IDs: 9007, 9824, 9826 -CleveRoids.PounceBleedSpellIDs = { - [9007] = true, -- Rank 1 (triggered by Pounce 9005) - [9824] = true, -- Rank 2 (triggered by Pounce 9823) - [9826] = true, -- Rank 3 (triggered by Pounce 9827) -} - -- Combined table for all bleed spells that need immunity detection -- Used when checking if a cast bleed failed to apply (indicates bleed immunity) -- NOTE: These are the DEBUFF spell IDs (what appears on target), not cast spell IDs @@ -548,26 +539,6 @@ function CleveRoids.TrackComboPointCastByID(spellID, targetGUID) return duration end --- API function to get last tracked combo points for a spell -function CleveRoids.GetLastComboPointsForSpell(spellName) - if CleveRoids.ComboPointTracking[spellName] then - return CleveRoids.ComboPointTracking[spellName].combo_points - elseif CleveRoids.spell_tracking[spellName] then - return CleveRoids.spell_tracking[spellName].last_combo_points - end - return nil -end - --- API function to get last calculated duration for a spell -function CleveRoids.GetLastDurationForSpell(spellName) - if CleveRoids.ComboPointTracking[spellName] then - return CleveRoids.ComboPointTracking[spellName].duration - elseif CleveRoids.spell_tracking[spellName] then - return CleveRoids.spell_tracking[spellName].last_duration - end - return nil -end - -- Utility function to display current combo tracking info function CleveRoids.ShowComboTracking() CleveRoids.Print("=== Combo Point Tracking ===")