From cdc0be1945524e41d9a283ef1306a670372f81e0 Mon Sep 17 00:00:00 2001 From: sogladev Date: Sun, 8 Mar 2026 18:27:55 +0100 Subject: [PATCH] fix(DB/Waypoint): fix O'Reily waypoint (#24895) --- .../rev_1772110647700832027.sql | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1772110647700832027.sql diff --git a/data/sql/updates/pending_db_world/rev_1772110647700832027.sql b/data/sql/updates/pending_db_world/rev_1772110647700832027.sql new file mode 100644 index 000000000..f67f688f6 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1772110647700832027.sql @@ -0,0 +1,27 @@ + +-- +-- Update Lady Sinestra's `path_id` to GUID*10 for Lady Sinestras spawn (previously: 23283) +UPDATE `creature_addon` SET `path_id` = 287960 WHERE `guid` = 28796; +-- Assign lady Sinestra's waypoints `waypoint_data` to proper id +UPDATE `waypoint_data` SET `id` = 287960 WHERE `id` = 232830; + +-- Add O'Reily waypoint data +DELETE FROM `waypoint_data` WHERE `id` = 232830; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(232830, 1, -6750.71, -4729.29, 18.162, NULL, 0, 0, 0, 100, 5300507), +(232830, 2, -6745.54, -4730.11, 21.3666, NULL, 0, 0, 0, 100, 5300508), +(232830, 3, -6741.23, -4733.09, 22.9047, NULL, 0, 0, 0, 100, 5300509), +(232830, 4, -6739.45, -4735.04, 21.95, NULL, 0, 0, 0, 100, 5300510), +(232830, 5, -6734.35, -4739.1, 19.6258, NULL, 0, 0, 0, 100, 5300511), +(232830, 6, -6729.12, -4739.22, 19.6489, NULL, 0, 0, 0, 100, 5300511), +(232830, 7, -6723.62, -4735.62, 20.9465, NULL, 0, 0, 0, 100, 5300511), +(232830, 8, -6717.79, -4732.6, 21.8267, NULL, 0, 0, 0, 100, 5300512), +(232830, 9, -6710.5, -4729.87, 21.2642, NULL, 0, 0, 0, 100, 5300513), +(232830, 10, -6701.65, -4730.19, 22.8937, NULL, 0, 0, 0, 100, 5300513), +(232830, 11, -6706.7, -4728.98, 21.7531, NULL, 0, 0, 0, 100, 5300514), +(232830, 12, -6712.82, -4731.23, 22.3174, NULL, 0, 0, 0, 100, 5300515), +(232830, 13, -6719.86, -4734.66, 21.7555, NULL, 0, 0, 0, 100, 5300516), +(232830, 14, -6727.36, -4738.61, 19.9282, NULL, 0, 0, 0, 100, 5300517), +(232830, 15, -6737.15, -4738.2, 20.22, NULL, 0, 0, 0, 100, 5300518), +(232830, 16, -6742.15, -4734.1, 22.6405, NULL, 0, 0, 0, 100, 5300519), +(232830, 17, -6746.14, -4730.77, 21.0577, NULL, 0, 0, 0, 100, 5300520);