From 998a64a83f9cff83f3e8dd97a1cad7e1f14388c5 Mon Sep 17 00:00:00 2001
From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com>
Date: Wed, 26 Aug 2026 22:01:31 +0200
Subject: [PATCH] fix: resolve CDC debuff filtering logic and reorder XML
status bar layering for correct visual rendering
---
HealBot_Action.xml | 29 ++++++++++++++---------------
HealBot_Controller_Aura.lua | 15 +++++++++++----
README.md | 2 ++
3 files changed, 27 insertions(+), 19 deletions(-)
diff --git a/HealBot_Action.xml b/HealBot_Action.xml
index 9a82842..48732f5 100644
--- a/HealBot_Action.xml
+++ b/HealBot_Action.xml
@@ -18,6 +18,20 @@
HealBot_Action_HealUnit_OnClick(this,arg1);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -115,21 +129,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/HealBot_Controller_Aura.lua b/HealBot_Controller_Aura.lua
index 62035f9..e5d48c2 100644
--- a/HealBot_Controller_Aura.lua
+++ b/HealBot_Controller_Aura.lua
@@ -202,12 +202,19 @@ function HealBot_OnEvent_UnitAura(this, unit)
shouldTrack = true
end
- if iconCount < 10 then
- iconCount = iconCount + 1
- HealBot_UnitIcons[unit][iconCount] = debuff
+ local isDispellable = false
+ if mapped_type and HealBot_DebuffWatch[mapped_type] then
+ isDispellable = true
end
- if shouldTrack and mapped_type and HealBot_DebuffWatch[mapped_type] then
+ if isDispellable then
+ if iconCount < 10 then
+ iconCount = iconCount + 1
+ HealBot_UnitIcons[unit][iconCount] = debuff
+ end
+ end
+
+ if shouldTrack and isDispellable then
HealBot_UnitDebuff[unit] = mapped_type
DebuffType = mapped_type;
diff --git a/README.md b/README.md
index c1efa66..3c22d9b 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,7 @@ Default installation path: `C:\Program Files\World of Warcraft\Interface\AddOns\
* **Bug Fix - Group Aliasing** - Fixed a bug where roster updates caused frames to share memory references, causing the UI to display the same player across multiple group slots.
* **Bug Fix - Slow Client Init** - Fixed missing class colors after `/reload` by adding lazy-load identity fetches directly into the render pipeline for when `UnitClass` data is delayed by the server.
* **Bug Fix - Debuff Tracking** - HealBot now automatically tracks all curable debuffs for the player's class out of the box. Previously, users had to manually assign a cure spell to a click binding to enable CDC debuff tracking.
+* **Bug Fix - CDC Filter** - Fixed an issue where the CDC module displayed all debuffs instead of filtering for dispellable ones, restoring proper health bar coloring.
**v1.6.5**
* **Performance Update - Mana Tracking** - Added a fast-path redraw pipeline for unit power changes. This optimization prevents full frame redraws when players naturally regenerate or consume mana, resolving severe FPS drops in 40-man raids while tracking mana.
@@ -79,6 +80,7 @@ Default installation path: `C:\Program Files\World of Warcraft\Interface\AddOns\
* **UI Update - Raid & Pets Split** - Split the "Raid / Extra" toggle into separate "Raid" and "Pets" toggles. Simplified the raid bars filter dropdown to core options (All, Melee, Ranged, Heals, Custom).
**v1.6.1**
+* **Hotfix - XML Layering** - Reverted `bar` and `bar2` element order in `HealBot_Action.xml`. The incoming heals bar was rendering on top of the health bar, causing debuff colors to be obscured and creating visual opacity issues.
* **Hotfix - pet frames** - With class colours toggled extra frames for player pets were given some classy mint colour.
* **Hotfi - raidframes in combat** - Modfied how frames behave when player leaves during combat.