aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAqua Deus <95978183+aquadeus@users.noreply.github.com>2022-02-13 22:15:33 +0100
committerGitHub <noreply@github.com>2022-02-13 22:15:33 +0100
commit61e96a7e148330a4abedc5a710e93bdae512f1f6 (patch)
tree3663a682c3a190ca6246bab745c9561346877715 /sql
parent9d25f5681e487079ebad2b220382dcf73e72c56b (diff)
Scripts/Spells: Fix priest talent Twist of Fate (#27730)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_02_13_02_world_priest_twist_of_fate.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_02_13_02_world_priest_twist_of_fate.sql b/sql/updates/world/master/2022_02_13_02_world_priest_twist_of_fate.sql
new file mode 100644
index 00000000000..bd5076eecd0
--- /dev/null
+++ b/sql/updates/world/master/2022_02_13_02_world_priest_twist_of_fate.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc` WHERE `SpellId` IN (109142,265259);
+INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
+(109142,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x0,0x0,0x0,0,0,0,0), -- Twist of Fate (Shadow)
+(265259,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x2,0x2,0x0,0x0,0x0,0,0,0,0); -- Twist of Fate (Discipline)
+
+DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_pri_twist_of_fate';
+INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
+(109142, 'spell_pri_twist_of_fate'),
+(265259, 'spell_pri_twist_of_fate');