From bc27115efb4029922bf883937388182aff9fdec3 Mon Sep 17 00:00:00 2001 From: sudlud Date: Thu, 16 Oct 2025 06:21:08 +0200 Subject: [PATCH] fix(DB/SAI): update waypoint start events for new forcedMovement parameter (#23255) --- .../pending_db_world/rev_1760552949949624400.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1760552949949624400.sql diff --git a/data/sql/updates/pending_db_world/rev_1760552949949624400.sql b/data/sql/updates/pending_db_world/rev_1760552949949624400.sql new file mode 100644 index 000000000..4b76f4e3c --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1760552949949624400.sql @@ -0,0 +1,11 @@ +-- 53 WP_START +-- update previous parameter run = 1 to forcedMovement = 2 (run) +update `smart_scripts` set `action_param1` = 2 where `action_type` = 53 and `action_param1` = 1; +-- update previous parameter run = 0 to forcedMovement = 1 (walk) +update `smart_scripts` set `action_param1` = 1 where `action_type` = 53 and `action_param1` = 0; + +-- 113 START_CLOSEST_WAYPOINT +-- update previous parameter run = 1 to forcedMovement = 2 (run) +update `smart_scripts` set `action_param4` = 2 where `action_type` = 113 and `action_param4` = 1; +-- update previous parameter run = 0 to forcedMovement = 1 (walk) +update `smart_scripts` set `action_param4` = 1 where `action_type` = 113 and `action_param4` = 0;