aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeji <alvaro.megias@outlook.com>2024-03-28 00:34:43 +0100
committerMeji <alvaro.megias@outlook.com>2024-03-28 00:34:43 +0100
commit78635f640ee3b632a487a50dcf492ae62c2a0933 (patch)
tree595d1199ce3e2cd08984e63c074fd186fd2a0c88
parent39263027d45f9e394a7f5121b71845fdf67d9ae6 (diff)
DB/Creatures: Drop unused movement data
-rw-r--r--sql/updates/world/master/2024_03_28_00_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2024_03_28_00_world.sql b/sql/updates/world/master/2024_03_28_00_world.sql
new file mode 100644
index 00000000000..d602488bff3
--- /dev/null
+++ b/sql/updates/world/master/2024_03_28_00_world.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template_movement` SET `InteractionPauseTimer`=NULL WHERE `InteractionPauseTimer`=0;
+UPDATE `creature_template_movement` SET `Chase`=0 WHERE `Chase` IS NULL;
+UPDATE `creature_template_movement` SET `Random`=0 WHERE `Random` IS NULL;
+DELETE FROM `creature_template_movement` WHERE `HoverInitiallyEnabled` IS NULL AND `Chase`=0 AND `Random`=0 AND `InteractionPauseTimer` IS NULL;