From 826bf64eda86cf83e27f68f3f0759d7ce70a2a5d Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Sat, 18 Jul 2026 23:34:20 +0200 Subject: [PATCH] fix: resolve Self Only buff tracking failing on raid frames by replacing direct unit string comparisons with UnitIsUnit --- HealBot_Controller_Aura.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HealBot_Controller_Aura.lua b/HealBot_Controller_Aura.lua index 9ae5d5e..5ece90c 100644 --- a/HealBot_Controller_Aura.lua +++ b/HealBot_Controller_Aura.lua @@ -91,7 +91,7 @@ function HealBot_CheckBuffs(unit) local val = HealBot_Config.BuffDropDowns[myClass][j] if val and val > 0 then local isSelfOnly = (HealBot_Config.BuffWatchSelf and HealBot_Config.BuffWatchSelf[j] == 1) - if not (isSelfOnly and unit ~= "player") then + if not (isSelfOnly and not UnitIsUnit(unit, "player")) then local spellName = HealBot_Buff_Spells[myClass][val] local hasIt = hasBuff[spellName] @@ -100,7 +100,7 @@ function HealBot_CheckBuffs(unit) end if not hasIt then - if myClass == "SHAMAN" and unit == "player" and string.find(spellName, " Weapon") then + if myClass == "SHAMAN" and UnitIsUnit(unit, "player") and string.find(spellName, " Weapon") then hasIt = HealBot_CheckShamanWeaponBuff(spellName) end end