mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-09-11 09:50:21 +00:00
added ClassicAPI integration for enhanced distance checking, healing bonuses, and Focus unit support - overrides some functionality of other integrations
This commit is contained in:
@@ -564,7 +564,12 @@ function HealBot_SpiBonus(spell)
|
||||
end
|
||||
|
||||
function HealBot_GetBonus()
|
||||
local HealBonus = HealBot_BonusScanner:GetBonus() or 0;
|
||||
local HealBonus = 0;
|
||||
if HealBot_Integrations_ClassicAPI_Active and GetSpellBonusHealing then
|
||||
HealBonus = GetSpellBonusHealing() or 0;
|
||||
else
|
||||
HealBonus = HealBot_BonusScanner:GetBonus() or 0;
|
||||
end
|
||||
if UnitClass("player") == "PALADIN" then
|
||||
local ironRank = HealBot_GetTalentRank("Ironclad")
|
||||
if ironRank > 0 then
|
||||
|
||||
Reference in New Issue
Block a user