Add absorbs, heal absorbs (#90)

* HealComm - Absorb, HealAbsorb

* HealComm - Unify all bars
This commit is contained in:
scorpzor
2025-12-01 13:36:15 -05:00
committed by andrew6180
parent b3dee35be1
commit 3d456d036a
9 changed files with 674 additions and 127 deletions
+6
View File
@@ -1404,3 +1404,9 @@ L["Allows Raid Members to send you Map Markers"] = true
L["MAP_MARKER_DISCRIPTION"] = "Allows Map Markers to be created by middle clicking (Mouse3) on the world map.\nMarkers are automatically shared with raid members."
L["Ranged"] = "Ranged"
L["Melee"] = "Melee"
L["Absorbs"] = true
L["Heal Absorbs"] = true
L["Overflow Heals"] = true
L["Overflow Absorbs"] = true
L["When enabled, incoming heals overflow past the health bar, otherwise bar is reverse filled."] = true
L["When enabled, absorb shields overflow past the health bar, otherwise bar is reverse filled."] = true
+29 -1
View File
@@ -3901,8 +3901,20 @@ E.Options.args.unitframe = {
name = L["Others"],
hasAlpha = true
},
maxOverflow = {
absorbs = {
order = 4,
type = "color",
name = L["Absorbs"],
hasAlpha = true
},
healAbsorbs = {
order = 5,
type = "color",
name = L["Heal Absorbs"],
hasAlpha = true
},
maxOverflow = {
order = 6,
type = "range",
name = L["Max Overflow"],
desc = L["Max amount of overflow allowed to extend past the end of the health bar."],
@@ -3910,6 +3922,22 @@ E.Options.args.unitframe = {
min = 0, max = 1, step = 0.01,
get = function(info) return E.db.unitframe.colors.healPrediction.maxOverflow end,
set = function(info, value) E.db.unitframe.colors.healPrediction.maxOverflow = value UF:Update_AllFrames() end
},
overflowHeals = {
order = 7,
type = "toggle",
name = L["Overflow Heals"],
desc = L["When enabled, incoming heals overflow past the health bar, otherwise bar is reverse filled."],
get = function(info) return E.db.unitframe.colors.healPrediction.overflowHeals end,
set = function(info, value) E.db.unitframe.colors.healPrediction.overflowHeals = value UF:Update_AllFrames() end
},
overflowAbsorbs = {
order = 8,
type = "toggle",
name = L["Overflow Absorbs"],
desc = L["When enabled, absorb shields overflow past the health bar, otherwise bar is reverse filled."],
get = function(info) return E.db.unitframe.colors.healPrediction.overflowAbsorbs end,
set = function(info, value) E.db.unitframe.colors.healPrediction.overflowAbsorbs = value UF:Update_AllFrames() end
}
}
},