From f84848a95bfb7099e984ec22e0ef145ee9c695d4 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Thu, 16 Feb 2023 01:32:49 -0300 Subject: [PATCH] fix(DB): Fix 2023_02_16_03.sql (#15063) --- data/sql/updates/db_world/2023_02_16_03.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/sql/updates/db_world/2023_02_16_03.sql b/data/sql/updates/db_world/2023_02_16_03.sql index aaff3b73f..8aa82bfe5 100644 --- a/data/sql/updates/db_world/2023_02_16_03.sql +++ b/data/sql/updates/db_world/2023_02_16_03.sql @@ -46,7 +46,7 @@ INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `equipment_id`, `positio DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21815) AND (`source_type` = 0); -- Stationary GUIDs do random emotes (these don't have any other SAI) -DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21815); +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@GUID+4 ),-(@GUID+6 ),-(@GUID+7 ),-(@GUID+8 ),-(@GUID+11),-(@GUID+13),-(@GUID+15),-(@GUID+17),-(@GUID+18),-(@GUID+19),-(@GUID+20),-(@GUID+21),-(@GUID+22),-(@GUID+23),-(@GUID+24),-(@GUID+27),-(@GUID+28))); INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (-(@GUID+4 ), 0, 0, 0, 1, 0, 100, 0, 3000, 7000, 3000, 7000, 0, 10, 18, 20, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cleric of Karabor - Out of Combat - Play Random Emote (18, 20)'), (-(@GUID+6 ), 0, 0, 0, 1, 0, 100, 0, 3000, 7000, 3000, 7000, 0, 10, 18, 20, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cleric of Karabor - Out of Combat - Play Random Emote (18, 20)'),