aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-09-18 17:24:28 +0300
committerShauren <shauren.trinity@gmail.com>2022-02-27 00:28:25 +0100
commite78a559d4ba5082384611aa8d9417f1f03889046 (patch)
tree8bf90209199900fc20ab492cab4261c2dd479433
parentc8c456a7dccba8eacb67346e87fe528f1e4b8d69 (diff)
DB/Spells: Replace effect jump with effect summon in some summon serverside spells
(cherry picked from commit 0d672a491022aa4d74d72b14dc2c403b2f67da37)
-rw-r--r--sql/updates/world/master/2022_02_26_04_world_2020_09_18_01_world.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_02_26_04_world_2020_09_18_01_world.sql b/sql/updates/world/master/2022_02_26_04_world_2020_09_18_01_world.sql
new file mode 100644
index 00000000000..f96aab9888b
--- /dev/null
+++ b/sql/updates/world/master/2022_02_26_04_world_2020_09_18_01_world.sql
@@ -0,0 +1,9 @@
+--
+UPDATE `serverside_spell_effect` SET `Effect` = 28, `EffectMiscValue2` = 64 WHERE `SpellId` IN (11475,11632,11633,11634,11635,11636,11645,11755,11794,11803,11804,11819,11822,11823,11855,11904,14329,17694,19829,21988,23361,25789,26564,26630,26631,26632,28218,29110,31692,33931,35721,35722,35723,36626,39424) AND `EffectIndex`=1;
+UPDATE `serverside_spell_effect` SET `Effect` = 28, `EffectMiscValue2` = 64 WHERE `SpellId` = 29110 AND `EffectIndex`=2;
+-- Fix errors (summon creatures by spells and not manually)
+UPDATE `smart_scripts` SET `link` = 0, `action_type` = 11, `action_param1` = 21988, `action_param2` = 2, `action_param3` = 0, `target_type` = 1, `comment` = "Foreman Bonds - Between 0-30% Health - Cast 'Summon Dun Garok Soldiers' (No Repeat)" WHERE `entryorguid` = 2305 AND `source_type` = 0 AND `id` = 2;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 2305 AND `source_type` = 0 AND `id` = 3;
+-- Script tries to summon creature 6086 and it's probably incorrect
+-- Script is not used, texts from it are used in different script, removing
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 369300 AND `source_type` = 9;