aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoroffl <11556157+offl@users.noreply.github.com>2021-09-27 19:00:55 +0300
committerGitHub <noreply@github.com>2021-09-27 19:00:55 +0300
commit0a2fca1aed4f2926c73f906769ff92918f7e2dbd (patch)
tree635572d48a4b7d327f3fe5c191400d0c9051e0eb /sql
parent5f71c40b969c07f950e3dceb99037c7685512e71 (diff)
Core/SAI: Split set/remove unit_flags actions (#26954)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2021_09_27_00_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_09_27_00_world.sql b/sql/updates/world/3.3.5/2021_09_27_00_world.sql
new file mode 100644
index 00000000000..1ded1133260
--- /dev/null
+++ b/sql/updates/world/3.3.5/2021_09_27_00_world.sql
@@ -0,0 +1,7 @@
+--
+UPDATE `smart_scripts` SET `action_type` = 144, `action_param1` = 1 WHERE `action_type` = 18 AND `action_param1` = 256;
+UPDATE `smart_scripts` SET `action_type` = 144, `action_param1` = 0 WHERE `action_type` = 19 AND `action_param1` = 256;
+UPDATE `smart_scripts` SET `action_type` = 145, `action_param1` = 1 WHERE `action_type` = 18 AND `action_param1` = 512;
+UPDATE `smart_scripts` SET `action_type` = 145, `action_param1` = 0 WHERE `action_type` = 19 AND `action_param1` = 512;
+UPDATE `smart_scripts` SET `action_type` = 146, `action_param1` = 1 WHERE `action_type` = 18 AND `action_param1` = 33554432;
+UPDATE `smart_scripts` SET `action_type` = 146, `action_param1` = 0 WHERE `action_type` = 19 AND `action_param1` = 33554432;