aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorTeleqraph <nyrdeveloper@gmail.com>2023-08-06 19:21:04 +0200
committerGitHub <noreply@github.com>2023-08-06 19:21:04 +0200
commite71b2f62c1eac13d90840970b64a37b7cc40e915 (patch)
tree3c72fb59d47a6c6b374db9d6d3afff7d961bcd82 /sql
parenta3a31a9a6f7d0000b8fc3e1ca2e355664a7ed955 (diff)
Scripts/Spells: Implement Answered Prayers (#29030)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2023_08_06_00_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2023_08_06_00_world.sql b/sql/updates/world/master/2023_08_06_00_world.sql
new file mode 100644
index 00000000000..88b98e218de
--- /dev/null
+++ b/sql/updates/world/master/2023_08_06_00_world.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc` WHERE `SpellId` IN (391387);
+INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
+(391387,0x00,6,0x00000000,0x00000000,0x00000000,0x00200000,0x0,0x0,0x2,0x2,0x403,0x0,0x0,0,0,0,0); -- Answered Prayers
+
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pri_answered_prayers';
+INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
+(391387, 'spell_pri_answered_prayers');