diff options
author | offl <offl@users.noreply.github.com> | 2020-08-16 23:37:05 +0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-02-02 20:22:18 +0100 |
commit | 896d12743a0cbf620fc83862ec6e6e56212dfd05 (patch) | |
tree | 3cb1b768aae29230b193b0a59df4a913fd21a70c | |
parent | 4fa7d723ad179693f967bbd0c88abe0a5919789a (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
(cherry picked from commit aae38bec116d5fb60d1f5900867cfe33388ed0bb)
-rw-r--r-- | sql/updates/world/master/2022_02_02_02_world_2020_08_16_03_world.sql | 2 |
1 files changed, 2 insertions, 0 deletions
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; |