Scripts/Spells: Fix shaman Earthquake (#27620)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
Robingad
2022-01-27 23:18:46 +02:00
committed by GitHub
parent 2b7545378a
commit 3e725e1d25
4 changed files with 102 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_sha_earthquake_tick';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(77478, 'spell_sha_earthquake_tick'); -- Earthquake
UPDATE `areatrigger_create_properties` SET `ScriptName`='areatrigger_sha_earthquake' WHERE `Id`=3691;
DELETE FROM `spell_proc` WHERE `SpellId` IN (273221);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(273221,0x00,11,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x0,0x0,0x0,0,0,0,0); -- Aftershock