From b7c7d3c42967e6f973d4154cde343deb9a29df98 Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Mon, 16 Jan 2023 02:00:29 +0100 Subject: [PATCH] fix(DB/SAI): Shadowmoon Summoner should not interrupt its spells. (#14567) Fixes #13820 --- .../pending_db_world/rev_1673180342307668400.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1673180342307668400.sql diff --git a/data/sql/updates/pending_db_world/rev_1673180342307668400.sql b/data/sql/updates/pending_db_world/rev_1673180342307668400.sql new file mode 100644 index 000000000..5b4cd06a2 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1673180342307668400.sql @@ -0,0 +1,11 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=17395 AND `source_type`=0 AND `id`=3; +UPDATE `smart_scripts` SET `event_type`=0, `event_param1`=500, `event_param2`=500 WHERE `entryorguid`=17395 AND `source_type`=0 AND `id` IN (0,1); + +UPDATE `smart_scripts` SET `action_param2`=0 WHERE `entryorguid`=17395 AND `source_type`=0 AND `id` IN (4,5); +UPDATE `smart_scripts` SET `event_flags`=0, `event_type`=4, `event_param1`=0, `event_param2`=0, `action_type`=87, `action_param1`=1739500, `action_param2`=1739501, `Comment`='Shadowmoon Summoner - In Combat - Call Random Actionlist' WHERE `entryorguid`=17395 AND `source_type`=0 AND `id`=2; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (1739500,1739501) AND `source_type`=9; +INSERT INTO `smart_scripts` VALUES +(1739500,9,0,0,0,0,100,0,0,0,0,0,0,11,30853,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Shadowmoon Summoner - Actionlist - Cast Summon Seductress'), +(1739501,9,0,0,0,0,100,0,0,0,0,0,0,11,30851,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Shadowmoon Summoner - Actionlist - Cast Summon Felhound Manastalker');