feat: increase icon limit to 10, add customizable icon size, and remove obsolete code

This commit is contained in:
Bluewhale1337
2026-08-09 12:11:29 +02:00
parent 048970d1b7
commit f7443fcdf0
8 changed files with 77 additions and 18 deletions
+2 -13
View File
@@ -246,6 +246,7 @@ HealBot_ConfigDefaults = {
bpadding = {[HEALBOT_SKINS_STD] = 10, ["HealBot Party"] = 10, ["HealBot Raid"] = 10, ["Alteric Valley"] = 10, ["Modern Flat"] = 10},
bboffset = {[HEALBOT_SKINS_STD] = 16, ["HealBot Party"] = 16, ["HealBot Raid"] = 16, ["Alteric Valley"] = 16, ["Modern Flat"] = 3},
bfontoutline = {[HEALBOT_SKINS_STD] = 0, ["HealBot Party"] = 0, ["HealBot Raid"] = 0, ["Alteric Valley"] = 0, ["Modern Flat"] = 1},
biconsize = {[HEALBOT_SKINS_STD] = 12, ["HealBot Party"] = 12, ["HealBot Raid"] = 12, ["Alteric Valley"] = 12, ["Modern Flat"] = 12},
ShowTooltip = 1,
ShowManaBars = 0,
ManaBarsHealersOnly = 0,
@@ -274,18 +275,6 @@ HEALBOT_ADDON_ID="HealBot_Heals"
HealBot_AbortButton=1;
HealBot_Groups = {
["ITEMS"] = {
HEALBOT_BANDAGES,
HEALBOT_HEALING_POTIONS,
HEALBOT_HEALTHSTONES,
},
["PALADIN"] = {
HEALBOT_HOLY_LIGHT,
HEALBOT_FLASH_OF_LIGHT,
},
}
HealBot_Spells = {
-- Cast = secs until effect starts
-- Channel = secs until caster available
@@ -584,7 +573,7 @@ HealBot_Action_TooltipUnit=nil;
HealBot_Ressing = {};
HealBot_IamRessing = false;
-- Table Recycling Pool (Puppeteer-inspired)
-- Table Recycling Pool
local tablePool = {}
function HealBot_GetTable()
local t = table.remove(tablePool)