fix(DB/SpellProcEvent): Warrior Sword Specialization and Sudden Death (#22042)

This commit is contained in:
Jelle Meeus
2025-09-11 05:14:40 -07:00
committed by GitHub
parent acab88ebc5
commit e1abb7f346
2 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--
-- Sword Specialization: Hamstring 0x0002, Rend 0x0020, Sunder Armor 0x4000
UPDATE `spell_proc_event` SET `SpellFamilyMask0`=`SpellFamilyMask0` | (0x0002 | 0x0020 | 0x4000) WHERE `entry`=-12281;
-- Sudden Death: copy FamilyMask from Sword Specialization
DELETE FROM `spell_proc_event` WHERE `entry`=-29723;
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procPhase`) VALUES
(-29723, 0, 4, 2858435686, 4194565, 0, 2|4);
DELETE FROM `spell_script_names` WHERE `spell_id` = -29723 AND `ScriptName` = 'spell_war_sudden_death_aura';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES(-29723, 'spell_war_sudden_death_aura');