fix(DB/Proc): add 2s ICD to Vesperon's Twilight Torment (#25545)

This commit is contained in:
sogladev 2026-04-23 01:07:07 +02:00 committed by GitHub
parent d4866a0f59
commit 6540ec32c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,6 @@
--
-- Add ICD to Vesperon's Twilight Torment during Vesperon's fight and Sartharion Hardmode
DELETE FROM `spell_proc` WHERE `SpellId` IN (58835, 57935);
INSERT INTO `spell_proc` (`SpellId`, `SpellPhaseMask`, `Cooldown`) VALUES
(58835, 2, 2000),
(57935, 2, 2000);

View file

@ -5184,6 +5184,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->InterruptFlags &= ~SPELL_INTERRUPT_FLAG_INTERRUPT;
});
// Twilight Torment
ApplySpellFix({ 57935, 58835 }, [](SpellInfo* spellInfo)
{
spellInfo->ProcCharges = 0;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];