aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMatan Shukry <matanshukry@gmail.com>2021-02-17 23:25:10 +0200
committerGitHub <noreply@github.com>2021-02-17 22:25:10 +0100
commit395460608692509d457488595f98c2f84fe2033b (patch)
tree4c1881ff2979967e95d12d0f30683e4025f1cbd8 /sql
parent456b5be8e45f5718287a44c1a6b8ba2429051f01 (diff)
Scripts/Spells: Implemented Guardian Druid's Gore spell (#26104)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2021_02_17_00_world_druid_gore.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_02_17_00_world_druid_gore.sql b/sql/updates/world/master/2021_02_17_00_world_druid_gore.sql
new file mode 100644
index 00000000000..e439455dcd9
--- /dev/null
+++ b/sql/updates/world/master/2021_02_17_00_world_druid_gore.sql
@@ -0,0 +1,10 @@
+-- Attach druid's gore spell script
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dru_gore';
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
+(210706,'spell_dru_gore');
+
+-- Override Gore spell proc flags
+DELETE FROM `spell_proc` WHERE `SpellId` IN (210706,93622);
+INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
+(210706,0,7,0x00200800,0x00100000,0x08000000,0x0,0,1,1,0x403,0,0,0,0,0,0),
+(93622,0,7,0x0,0x40,0x0,0x0,0,1,2,0x403,0x8,0,0,0,0,0);