feat: implement robust spell failure detection, talent-based healing calculations, and improved incoming heal synchronization.

This commit is contained in:
Bluewhale1337
2026-07-12 19:44:50 +02:00
parent d0d6a39fb9
commit ff97414bb1
7 changed files with 77 additions and 41 deletions
+5 -1
View File
@@ -284,12 +284,16 @@ do
spellName = HealBot_ScanTooltipTextLeft1 and HealBot_ScanTooltipTextLeft1:GetText()
end
HealBot_CastFailed = false
orig(slot, checkCursor, onSelf)
if autoSelfCast then
SetCVar("autoSelfCast", autoSelfCast)
end
if spellName and HealBot_AnnounceCast then
if spellName and not HealBot_CastFailed then
HealBot_CastingSpell = spellName
HealBot_CastingTarget = mouseover
HealBot_Process_HealValue(spellName, mouseover)
HealBot_AnnounceCast(spellName, mouseover)
end
end