No description
Find a file
Florian Berthold 089454f937 Add CoAClassColors.lua: mirror RAID_CLASS_COLORS into profile
SUF stores class colors in a private ShadowUF.db.profile.classColors
table seeded only with the vanilla 10 in defaultlayout.lua. On the
Voljin/CoA client _G.RAID_CLASS_COLORS is populated by FrameXML with
22 additional tokens (HERO + 21 CoA customs), but those never reach
SUF, so a guildmate's CoA-class health bar falls through to the
percent gradient.

New file post-hooks ShadowUF:OnInitialize, ProfileReset and
ProfilesChanged to copy any RAID_CLASS_COLORS entry the active
profile is missing into profile.classColors. Idempotent — only fills
nil keys, so user customisations and SUF's stock vanilla-10 values
win.

Source of truth is the live client's table, populated in
patch-B.MPQ → SharedXML/SharedConstants.lua, so the addon stays in
sync with whatever palette the realm ships without a hardcoded copy.
2026-05-08 22:48:42 +02:00
.github Initial commit 2023-03-02 11:52:39 +01:00
ShadowedUF_Options Init 2023-03-02 12:15:00 +01:00
ShadowedUnitFrames Add CoAClassColors.lua: mirror RAID_CLASS_COLORS into profile 2026-05-08 22:48:42 +02:00
.gitattributes ci: preserve upstream line endings (CRLF) for clean upstream diffs 2026-05-08 18:59:45 +02:00
.gitignore Initial commit 2023-03-02 11:52:39 +01:00
README.md Update README.md 2023-03-02 12:10:30 +01:00

Shadowed Unit Frames

This is the repository for ShadowedUnitFrames. Modified for Ascension.gg.