aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-27 15:36:13 +0200
committerKillyana <morphone1@gmail.com>2020-05-27 15:36:13 +0200
commit9d7f033bf33b937e255ced00b29cf183f529ee9d (patch)
tree6cedf99dc52428942eff9861c2f76b5bab86dc17 /sql/updates
parent5b7b21c362f8127e98e63e939a419956bc188e20 (diff)
DB/SAI: Remove excess event flags from timed action lists
Closes #24701
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/3.3.5/2020_05_27_00_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_05_27_00_world.sql b/sql/updates/world/3.3.5/2020_05_27_00_world.sql
new file mode 100644
index 00000000000..0cc2447868d
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_05_27_00_world.sql
@@ -0,0 +1,4 @@
+--
+UPDATE `smart_scripts` SET `event_flags` = `event_flags` &~ 1 WHERE `source_type` = 9; -- SMART_EVENT_FLAG_NOT_REPEATABLE
+UPDATE `smart_scripts` SET `event_flags` = `event_flags` &~ 2 WHERE `source_type` = 9; -- SMART_EVENT_FLAG_DIFFICULTY_0
+UPDATE `smart_scripts` SET `event_flags` = `event_flags` &~ 4 WHERE `source_type` = 9; -- SMART_EVENT_FLAG_DIFFICULTY_1