From 090f9f8c5eafea86589ba27ac1c833019ef616d2 Mon Sep 17 00:00:00 2001 From: Nefertumm Date: Wed, 19 Jan 2022 18:31:09 -0300 Subject: [PATCH] Fix(DB/BWL): Vaelastrasz trash (#10184) --- .../rev_1642175085880779000.sql | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1642175085880779000.sql diff --git a/data/sql/updates/pending_db_world/rev_1642175085880779000.sql b/data/sql/updates/pending_db_world/rev_1642175085880779000.sql new file mode 100644 index 000000000..7ecf56766 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1642175085880779000.sql @@ -0,0 +1,23 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1642175085880779000'); + +-- Based on the wrong creatures' position. +-- Left group +UPDATE `creature` SET `position_x` = -7462.55, `position_y` = -1015.27, `position_z` = 408.75, `orientation` = 2.26 WHERE `guid` = 84605; +UPDATE `creature` SET `position_x` = -7484.4, `position_y` = -992.57, `position_z` = 408.74, `orientation` = 2.28 WHERE `guid` = 84606; +UPDATE `creature` SET `position_x` = -7469.89, `position_y` = -1004.51, `position_z` = 408.74, `orientation` = 2.17 WHERE `guid` = 84616; +-- Right group +UPDATE `creature` SET `position_x` = -7505.69, `position_y` = -1007.07, `position_z` = 408.73, `orientation` = 2.19 WHERE `guid` = 84603; +UPDATE `creature` SET `position_x` = -7491.17, `position_y` = -1035.6, `position_z` = 408.74, `orientation` = 2.26 WHERE `guid` = 84614; +UPDATE `creature` SET `position_x` = -7494.95, `position_y` = -1022.22, `position_z` = 408.73, `orientation` = 2.19 WHERE `guid` = 84615; + +DELETE FROM `creature` WHERE `guid` IN (84513, 84514, 84515, 84516, 84517, 84518); + +DELETE FROM `linked_respawn` WHERE `guid` IN (84513, 84514, 84515, 84516, 84517, 84518, 84603, 84605, 84606, 84614, 84615, 84616); + +INSERT INTO `linked_respawn` (`guid`, `linkedGuid`, `linkType`) VALUES +(84603, 84512, 0), +(84605, 84512, 0), +(84606, 84512, 0), +(84614, 84512, 0), +(84615, 84512, 0), +(84616, 84512, 0);