coa: fix Chronomancer spell ID for Continuum Restoration (804490, was 801271)

Also corrects Antivenom/Blight Antidote dispel types to DC.POISON-only,
matching the DBC/runtime mismatch documented in memory — curse-dispel in
DBC doesn't fire server-side for Venomancer.
This commit is contained in:
2026-05-14 01:28:55 +02:00
parent 3869a067c6
commit 5ebcc60223
+5 -5
View File
@@ -502,8 +502,8 @@ function D:OnInitialize() -- Called on ADDON_LOADED -- {{{
DC.SpellsToUse[DS["COA_CONTINUUM_RESTORATION"]] = { Types = {DC.MAGIC}, IsBest = 0, Pet = false, } -- Chronomancer
DC.SpellsToUse[DS["COA_DEVOUR_CURSE"]] = { Types = {DC.CURSE}, IsBest = 0, Pet = false, } -- Cultist
DC.SpellsToUse[DS["COA_REBUKE"]] = { Types = {DC.MAGIC, DC.DISEASE, DC.POISON}, IsBest = 1, Pet = false, } -- Templar
DC.SpellsToUse[DS["COA_ANTIVENOM"]] = { Types = {DC.CURSE}, IsBest = 0, Pet = false, } -- Venomancer (baseline)
DC.SpellsToUse[DS["COA_BLIGHT_ANTIDOTE"]] = { Types = {DC.CURSE}, IsBest = 1, Pet = false, } -- Venomancer (MoA)
DC.SpellsToUse[DS["COA_ANTIVENOM"]] = { Types = {DC.POISON}, IsBest = 0, Pet = false, } -- Venomancer (baseline, poison-only — curse-dispel in DBC doesn't fire server-side)
DC.SpellsToUse[DS["COA_BLIGHT_ANTIDOTE"]] = { Types = {DC.POISON}, IsBest = 1, Pet = false, } -- Venomancer (MoA — same Antidote/Antivenom pattern as 800905; Venomancer curse-dispel needs the dedicated 524824 spell)
DC.SpellsToUse[DS["COA_BURN_IMPURITIES"]] = { Types = {DC.DISEASE, DC.POISON}, IsBest = 0, Pet = false, } -- Pyromancer
DC.SpellsToUse[DS["COA_SURVIVAL_POTION"]] = { Types = {DC.DISEASE, DC.POISON}, IsBest = 0, Pet = false, } -- Ranger
DC.SpellsToUse[DS["COA_HEMAL_EXCISION"]] = { Types = {DC.CURSE}, IsBest = 0, Pet = false, } -- Bloodmage
@@ -1165,11 +1165,11 @@ function D:GetSpellsTranslations(FromDIAG)
-- GetSpellsTranslations catches any IDs that don't resolve.
if C_Player:IsCustomClass() then -- CoA
local customSpells = {
["COA_CONTINUUM_RESTORATION"] = { 801271, }, -- Chronomancer (Magic)
["COA_CONTINUUM_RESTORATION"] = { 804490, }, -- Chronomancer (Magic)
["COA_DEVOUR_CURSE"] = { 800402, }, -- Cultist (Curse)
["COA_REBUKE"] = { 525051, }, -- Templar/Monk (Magic, Disease, Poison)
["COA_ANTIVENOM"] = { 800905, }, -- Venomancer/Prophet (Curse)
["COA_BLIGHT_ANTIDOTE"] = { 520153, }, -- Venomancer/Prophet MoA (Curse)
["COA_ANTIVENOM"] = { 800905, }, -- Venomancer (Poison)
["COA_BLIGHT_ANTIDOTE"] = { 520153, }, -- Venomancer MoA (Poison)
["COA_BURN_IMPURITIES"] = { 520149, }, -- Pyromancer (Disease, Poison)
["COA_SURVIVAL_POTION"] = { 802839, }, -- Ranger (Disease, Poison)
["COA_HEMAL_EXCISION"] = { 803681, }, -- Bloodmage/SonOfArugal (Curse)