mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-10 19:03:11 +00:00
fix(DB/Proc): add 2s ICD to Vesperon's Twilight Torment (#25545)
This commit is contained in:
@@ -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);
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user