aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMatan Shukry <matanshukry@gmail.com>2021-04-20 00:54:13 +0300
committerGitHub <noreply@github.com>2021-04-19 23:54:13 +0200
commit81eac826562f8e75de1842c59c8d35cf050b0f21 (patch)
treed3f45dff4a090c4300c53bf2096153bfe5c3bb4a /sql
parent854a55daabf5dc264a961ec86ca0cd8ee39140c5 (diff)
Core/Spells: Implement priest holy words + modify cooldown for a charge (#26270)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2021_04_19_00_world_priest_holy_words.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_04_19_00_world_priest_holy_words.sql b/sql/updates/world/master/2021_04_19_00_world_priest_holy_words.sql
new file mode 100644
index 00000000000..073c084fcc2
--- /dev/null
+++ b/sql/updates/world/master/2021_04_19_00_world_priest_holy_words.sql
@@ -0,0 +1,17 @@
+-- Spell Proc
+DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_pri_holy_words');
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
+(63733, 'spell_pri_holy_words');
+
+-- Spell Procs
+-- Make holy words Proc on the following spells:
+-- 2060 Heal 0x1000
+-- 2061 Flash Heal 0x0800
+-- 596 Prayer of Healing 0x0200
+-- 139 Renew 0x0040
+-- 585 Smite 0x0080
+-- 0x1AC0
+
+DELETE FROM `spell_proc` WHERE `SpellId` IN (63733); -- Holy Words
+INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
+(63733, 0, 6, 0x1AC0, 0x0, 0x0, 0x0, 0, 7, 2, 0x403, 0x0, 0, 0, 0, 0, 0);