Features implementation - added integration support for UnitXP and nampower, expand Options UI.

This commit is contained in:
Bluewhale1337
2026-08-17 20:26:09 +02:00
parent 496013ae9c
commit 58f593947e
13 changed files with 131 additions and 28 deletions
+5
View File
@@ -14,6 +14,11 @@ function HealBot_Range_Check(unit, range)
end
if ( unit == "player" ) then
return_val = 1;
elseif HealBot_Integrations_UnitXP_Active then
local dist = UnitXP("distanceBetween", "player", unit, "Gaussian")
if dist and dist <= range then
return_val = 1;
end
elseif ( UnitIsVisible(unit) == 1 ) then
local tx, ty = GetPlayerMapPosition(unit)
local dist