feat: CoA class colors for the 21 Ascension custom classes

Adds CoAClassColors.lua which merges 22 entries (HERO + 21 custom) into _G.RAID_CLASS_COLORS at file-load time, before Omen.lua takes its local snapshot. Vanilla 10 are left untouched. !ClassColors is also folded in if loaded.

Fixes: Omen bars rendering generic dbBar.BarColor for all CoA classes because Omen.lua:1629 looks up RAID_CLASS_COLORS[class] keyed on the file_string returned by UnitClass(), and PROPHET / MONK / FLESHWARDEN / etc. don't exist in stock Blizzard tables.
This commit is contained in:
2026-05-07 13:41:35 +02:00
parent 7181066855
commit b7445fc4c1
3 changed files with 213 additions and 2 deletions
+7 -2
View File
@@ -1,7 +1,7 @@
## Interface: 30300
## Version: 3.0.9
## Version: 3.0.9-coa1
## Title: Omen3
## Notes: A lightweight, flexible, multi-target threat meter.
## Notes: A lightweight, flexible, multi-target threat meter. (CoA fork: custom class colors)
## Notes-ruRU: Лёгкий, гибкий, измеритель угрозы.
## Notes-frFR: Un "threat meter" léger, flexible et multi-cibles.
## Notes-zhCN: 一个灵活的,多目标的,低资源占用的威胁值计量器。
@@ -49,4 +49,9 @@ Localization\zhTW.lua
Localization\zhCN.lua
Localization\ruRU.lua
## CoA patches ##
# Loaded before Omen.lua so RAID_CLASS_COLORS is populated when
# Omen.lua takes its local snapshot at the top of the file.
CoAClassColors.lua
Omen.lua