From d222cd942c8391f2a9d92c7dfc14cff73af38a36 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Mon, 5 Oct 2026 00:02:17 +0200 Subject: [PATCH 1/2] fix: update HoT Timers integration note to only reference Nampower --- HealBot_Options_Integrations.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HealBot_Options_Integrations.xml b/HealBot_Options_Integrations.xml index f839c0f..4609264 100644 --- a/HealBot_Options_Integrations.xml +++ b/HealBot_Options_Integrations.xml @@ -112,7 +112,7 @@ - + From 8b85b6ca57cd5544f067cca1cbf124a6079220b4 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Wed, 7 Oct 2026 21:30:35 +0200 Subject: [PATCH 2/2] refactor: replace standard UnitClass calls with HealBot_UnitClass helper function --- HealBot_Controller_Spells.lua | 2 +- HealBot_Model.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HealBot_Controller_Spells.lua b/HealBot_Controller_Spells.lua index 82ee3a6..a57a3e0 100644 --- a/HealBot_Controller_Spells.lua +++ b/HealBot_Controller_Spells.lua @@ -504,7 +504,7 @@ function HealBot_FindHealSpells() temp_Spell_cast = HealBot_Spells[spell].CastTime; end RealHealing = ((HealBot_GetBonus() * healingbonus_penalty) * (temp_Spell_cast / 3.5)); - local playerClass, englishClass = UnitClass("player"); + local englishClass = HealBot_UnitClass("player"); local SpiBonus = 0; if (englishClass == "PRIEST") then SpiBonus = ((HealBot_SpiBonus(spell) * healingbonus_penalty) * (temp_Spell_cast / 3.5)) diff --git a/HealBot_Model.lua b/HealBot_Model.lua index 2b8fd20..47fa769 100644 --- a/HealBot_Model.lua +++ b/HealBot_Model.lua @@ -149,7 +149,7 @@ function HealBot_Model:UpdateUnitIdentity(unit) local oldName = self.units[unit].name local oldEnglishClass = self.units[unit].englishClass local name = UnitName(unit) - local _, englishClass = UnitClass(unit) + local englishClass = HealBot_UnitClass(unit) if oldName ~= name or oldEnglishClass ~= englishClass then self.units[unit].name = name