From 896d12743a0cbf620fc83862ec6e6e56212dfd05 Mon Sep 17 00:00:00 2001 From: offl Date: Sun, 16 Aug 2020 23:37:05 +0300 Subject: DB/SAI: Remove SMARTCAST_INTERRUPT_PREVIOUS from nearly all scripts No longer needed after https://github.com/TrinityCore/TrinityCore/commit/ca25e8d0199730c0976ebc37317e9407aceccc34 Explained in https://github.com/TrinityCore/TrinityCore/issues/24914 Some event types not affected because requires tests, events with No Repeat event flag skipped (cherry picked from commit aae38bec116d5fb60d1f5900867cfe33388ed0bb) --- sql/updates/world/master/2022_02_02_02_world_2020_08_16_03_world.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql/updates/world/master/2022_02_02_02_world_2020_08_16_03_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2022_02_02_02_world_2020_08_16_03_world.sql b/sql/updates/world/master/2022_02_02_02_world_2020_08_16_03_world.sql new file mode 100644 index 00000000000..d058a7b51f8 --- /dev/null +++ b/sql/updates/world/master/2022_02_02_02_world_2020_08_16_03_world.sql @@ -0,0 +1,2 @@ +-- Remove SMARTCAST_INTERRUPT_PREVIOUS from nearly all scripts +UPDATE `smart_scripts` SET `action_param2` = `action_param2` &~1 WHERE `event_type` IN (0,2,3,4,9,11,12,13,14,15,16,19,22,23,25,62,63,74) AND `event_flags` & 1 = 0 AND `action_type` = 11 AND `source_type` = 0 AND `action_param2` & 1; -- cgit v1.2.3