Repository navigation
feat(powerbars): add Boss Health Marker spark to UnitFrames and ResourceBars - #1932
Open
kylelemons wants to merge 1 commit into
Open
kylelemons wants to merge 1 commit into
kylelemons wants to merge 1 commit into
Conversation
kylelemons
force-pushed
the
feat/powerbar-boss-health-marker
branch
2 times, most recently
from
September 11, 2026 00:30
60576d2 to
86a84da
Compare
kylelemons
force-pushed
the
feat/powerbar-boss-health-marker
branch
from
September 22, 2026 00:46
86a84da to
f137965
Compare
kylelemons
force-pushed
the
feat/powerbar-boss-health-marker
branch
from
September 30, 2026 00:35
f137965 to
7e2f810
Compare
…rceBars Add an opt-in Boss Health Marker sparkline to the player power bar in both UnitFrames and ResourceBars to assist with mana pacing against boss health during encounters. - Defaults to OFF (bossPacingEnabled = false) - Zero cost when disabled: event frame only registers when enabled and boss exists - Zero taint risk: uses StatusBar SetValue with boss1 health, no Lua math on protected values - Includes live visual preview on the UnitFrames preview frame in settings - Clean 2-slot options row pairing with spec-dependent power type
kylelemons
force-pushed
the
feat/powerbar-boss-health-marker
branch
from
October 10, 2026 00:16
7e2f810 to
cb97600
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds an opt-in Boss Health Marker toggle (
bossPacingEnabled) to the Player Power Bar in both Unit Frames (Unit Frames > Main Frames > Power Bar) and Resource Bars (Resource Bars > Primary Bar).During boss encounters, this renders a subtle 2px vertical sparkline on the player's power bar that aligns with
boss1current health percentage, assisting healers and DPS with resource and mana pacing against boss phases.Key highlights:
falseacross both modules.UNIT_HEALTH,UNIT_MAXHEALTHforboss1,INSTANCE_ENCOUNTER_ENGAGE_UNIT,PLAYER_REGEN_DISABLED/ENABLED) are only registered whenbossPacingEnabled == true.StatusBartrackingUnitHealth("boss1"), using native UI frame alignment without running Lua math on protected combat values.EUI_UnitFrames_Options.lua, toggling the checkbox renders a live sparkline preview directly on the unit frame preview bar at the top of the settings page.do ... endblock to respect Lua 5.1's 200 local variable limit.How was it tested?
Screenshots
Checklist
HookScript/hooksecurefunconly, neverSetScripton Blizzard frames