Skip to content

Fix and rework the Important Cast Glow on enemy nameplates - #1779

Open
vcherneny wants to merge 1 commit into
EllesmereGaming:mainfrom
vcherneny:fix/important-cast-glow-rendering
Open

Fix and rework the Important Cast Glow on enemy nameplates#1779
vcherneny wants to merge 1 commit into
EllesmereGaming:mainfrom
vcherneny:fix/important-cast-glow-rendering

Conversation

@vcherneny

@vcherneny vcherneny commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Follow up PR after #1779

What does this PR do?

1. Glow border cut through the cast spell icon. The overlay was
SetAllPoints(self.cast), but the icon is a child of the bar anchored outside its
edge. It now spans the union of bar + icon, vertical edges following whichever is
taller. Measured size joins the restart cache key (FlipBook/Auto-Cast size
themselves once at start).

2. Square action-button art smears on a long bar. The list now offers only
styles that hold their shape at any aspect: Pixel Glow, Auto-Cast Shine,
Blizzard's own bar art, and two new EUI edge glows. Action Button Glow, GCD,
Modern WoW Glow and Classic WoW Glow are dropped from this list only — they
stay in the aura lists, where frames are square.

3. New styles. Blizzard Important Cast draws
ui-hud-nameplates-importantcast with Blizzard's own outsets and a quicker
ImportantCastFlashAnim. Soft Bloom / Pulse Border use no art: nested
rectangle outlines under a squared falloff, correct at any aspect by construction,
one C-side AnimationGroup driving the pulse.

4. Glow Size (cog) trims the effect in or out — border placement and halo
bleed are the same dial pulled opposite ways, and the right end depends on bar
width. Default 0 = no change. The cog now opens for every style, Pixel-only rows
greying out.

Preview moves from a 26px swatch onto the nameplate preview, behind an eye
toggle matching the absorb/target-glow previews on this page. It renders through
the same union rule and stored options as the real plate.

Migration np_important_cast_glow_drop_button_art_v1 re-points saved styles —
removing mid-list entries renumbers what follows, so without it anyone on
Auto-Cast Shine silently becomes Pixel Glow. Action Button → Pixel Glow; GCD,
Modern, Classic → Soft Bloom. Version-guarded, as renumbering is not
self-idempotent.

Two calls worth your view: this relaxes the preview's documented "no glow, no
added effects" rule, and it removes four styles from a shipped list. Happy to
revert either.

How was it tested?

Client 12.1.0.69497.

Offline: migration run against real SavedVariables and
(version guard holds). Style indices verified to resolve to the correctly named
engine entry. Parse clean, ASCII only, _keys.txt unch

Screenshots

glow-demo.mp4

Checklist

  • New settings default OFF — Glow Size defaults
    Pixel Glow; new styles appended after the survivors.
  • Zero cost while disabled — unchanged early-out; pe
    LoD panel open.
  • Cheap while enabled — re-anchor on cast start onl
    AnimationGroups. No OnUpdate, events, hooks or timers.
  • No writes onto Blizzard-owned frames — EUI overla
  • Tested in-game on live — no version gates or pre-Midnight APIs; tick after
    the passes above.

The glow overlay covered the cast bar only, but the spell icon is a child of the
bar anchored outside its edge, so the border ran down the icon's edge. It now
spans the union of the two, with the vertical edges following whichever is
taller. The measured size joins the restart cache key, since the FlipBook and
shine engines size themselves once at start.

Styles built from square action-button art smear when scaled onto a long bar.
The list now offers only styles that hold their shape at any aspect: Pixel Glow,
Auto-Cast Shine, Blizzard's own bar-authored indicator, and two new EUI edge
glows drawn from primitives (nested outlines under a squared falloff, no art).
Action Button Glow, GCD, Modern WoW Glow and Classic WoW Glow are dropped from
THIS list only and remain in the aura lists, where the frames are square.

Glow Size in the cog trims the effect in or out: where the border sits and how
far the halo bleeds past the bar are the same dial pulled opposite ways, and
which end looks right depends on bar width. The cog now opens for every style,
with the Pixel-only rows greying out.

The preview moves from a swatch beside the dropdown onto the nameplate preview,
behind an eye toggle matching the absorb and target-glow previews on the same
page. It renders through the same union rule and stored options as the real
plate, so the two cannot disagree.

np_important_cast_glow_drop_button_art_v1 re-points saved styles: removing
entries mid-list renumbers what follows, so without it anyone on Auto-Cast Shine
would silently become Pixel Glow. Version-guarded, as a renumbering is not
self-idempotent.

Default is still Pixel Glow and the new styles are appended after the survivors,
so nothing changes for anyone who does not open the dropdown.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant