From e78a559d4ba5082384611aa8d9417f1f03889046 Mon Sep 17 00:00:00 2001 From: offl Date: Fri, 18 Sep 2020 17:24:28 +0300 Subject: DB/Spells: Replace effect jump with effect summon in some summon serverside spells (cherry picked from commit 0d672a491022aa4d74d72b14dc2c403b2f67da37) --- .../world/master/2022_02_26_04_world_2020_09_18_01_world.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/world/master/2022_02_26_04_world_2020_09_18_01_world.sql (limited to 'sql') 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; -- cgit v1.2.3