mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-10-27 06:00:54 +00:00
feat: add max/min HP bar color configuration and font selection options to skins
This commit is contained in:
@@ -473,7 +473,13 @@ end
|
||||
-- HealBot_AddHeal: Internal utility: HealBot_AddHeal
|
||||
function HealBot_AddHeal(spell)
|
||||
HealBot_SetSpellDefaults(spell);
|
||||
table.foreachi(HealBot_Spells[spell].Target, function (i, val)
|
||||
local targetList = HealBot_Spells[spell].Target
|
||||
if not targetList and HealBot_Spells[spell].Group and HealBot_Spells[HealBot_Spells[spell].Group] then
|
||||
targetList = HealBot_Spells[HealBot_Spells[spell].Group].Target
|
||||
end
|
||||
if not targetList then targetList = {"player", "party", "pet"} end
|
||||
table.foreachi(targetList, function (i, val)
|
||||
if not HealBot_Heals[val] then HealBot_Heals[val] = {} end
|
||||
table.insert(HealBot_Heals[val], spell);
|
||||
end);
|
||||
HealBot_Spells[spell].BagSlot = HealBot_GetBagSlot(spell);
|
||||
|
||||
Reference in New Issue
Block a user