aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-27 15:36:13 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-06 19:16:10 +0100
commit1859658b2b194bef4d20efddf10fe454aa1d7656 (patch)
tree19ef9a6e6cc39409e2c15cfda89253187d61e3d2 /sql
parentf23aa3c86699bc3ee0c9adc681940bd126ed7bea (diff)
DB/SAI: Remove excess event flags from timed action lists
Closes #24701 (cherry picked from commit 9d7f033bf33b937e255ced00b29cf183f529ee9d)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_01_06_27_world_2020_05_27_00_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_06_27_world_2020_05_27_00_world.sql b/sql/updates/world/master/2022_01_06_27_world_2020_05_27_00_world.sql
new file mode 100644
index 00000000000..0cc2447868d
--- /dev/null
+++ b/sql/updates/world/master/2022_01_06_27_world_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