2 Commits

Author SHA1 Message Date
florian.berthold f87b41960d refactor(bleed): pack BleedIDs as comma-string (~16/line) for clean diffs
release / release (push) Successful in 3s
Previous per-ID-per-line form (1502 lines / 53 KB) made every regen show
as a 1500-line block diff. Pack the IDs into a comma-separated string at
~16 entries per line (94 packed lines / 11.5 KB) and parse once at load.
Future regenerations only churn the chunks where IDs actually change.

No behaviour change: still produces a {[spellId]=true} hash for O(1)
lookup in Decursive.lua:GetUnitDebuff.
2026-05-27 20:37:52 +02:00
florian.berthold d3baa86185 feat(bleed): add DC.BLEED synthetic dispel type, wire Cauterize, bump 1.1.8
UnitAura returns "" for the dispel type on bleeds (mechanic 15 is not a
Blizzard dispel category). New Dcr_BleedIDs.lua ships 1491 bleed-aura
spell IDs auto-generated from coa-db Postgres (effect=APPLY_AURA,
aura=PERIODIC_DAMAGE, mechanic=BLEED). GetUnitDebuff now pulls spellId
and re-tags untyped debuffs as "Bleed" when the ID is in that set.

DC.BLEED = 128, registered in TypeNames / TypeColors (dark red AA1111
to read distinct from CHARMED's bright red), CureOrder default 7,
AuthorizedKeys/Values, options-UI checkbox, and all eight locales.

Cauterize (560749) now lists DC.BLEED alongside MAGIC + POISON so the
Pyromancer cleanse covers what the spell actually does in-game.

Regenerate Dcr_BleedIDs.lua with the SQL header inside the file.
2026-05-27 19:08:09 +02:00