Files
coa-decursive/Decursive
florian.berthold 3869a067c6 coa: extend default-realm spell IDs to CustomClass branch
CoA characters were crashing on load with table-index-is-nil at
Dcr_opt.lua:292 (DebuffsToIgnore[DS["Phase Shift"]]), then cascading
into self.db being nil at DCR_init.lua:724 and ScanTime nil arithmetic
at Dcr_LiveList.lua:389.

Root cause: D:GetSpellsTranslations populates DC.DS by iterating the
class-specific Spells table. The IsCustomClass branch added in
32324ff only filled COA_* dispel spells, but Dcr_opt.lua DebuffsToIgnore
/ BuffDebuff and DCR_init.lua SpellsToUse reference DS["Phase Shift"]
/ "SPELL_CURE_POISON" / etc. unconditionally - keys that only existed
in the heroSpells / defaultSpells branches.

Merged the IsDefaultClass and IsCustomClass branches so both share the
same defaultSpells base table; the CoA-specific dispels remain a
nested IsCustomClass-gated extension. CoA realm shares world content
with the default realm so the prefixed IDs apply; _LOST SPELL_ fallback
in GetSpellsTranslations handles any that don't resolve.
2026-05-10 22:15:18 +02:00
..
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00
2022-10-21 06:52:48 -07:00