aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-08-16 23:37:05 +0300
committeroffl <offl@users.noreply.github.com>2020-08-16 23:37:05 +0300
commitaae38bec116d5fb60d1f5900867cfe33388ed0bb (patch)
tree3b43f74e5cc481d29dbd966af17443623151d91a
parente8e3626073ba960ec5dc2642693fbdaf3dff65b0 (diff)
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
-rw-r--r--sql/updates/world/3.3.5/2020_08_16_03_world.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_08_16_03_world.sql b/sql/updates/world/3.3.5/2020_08_16_03_world.sql
new file mode 100644
index 00000000000..d058a7b51f8
--- /dev/null
+++ b/sql/updates/world/3.3.5/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;