From 32164b26a3353bb3eb6aad5c5a43ea145b181415 Mon Sep 17 00:00:00 2001 From: Rorschach91 <108557877+Rorschach91@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:44:31 +0200 Subject: [PATCH] Fix(DB) Resolve Stable Master Kitrik missing path. (#20210) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(Script/Mother Shahraz) Increase min teleport range and add new teleport points. This fix increase minimum teleport range for Fatal Attraction and It adds 5 new teleport points if the boss is near the platform. * Update boss_mother_shahraz.cpp * Create Kitrik_Fix_waypoint.sql With my old fix, Kitrik doesn't use its waypoint. With this fix It should move. * Update Kitrik_Fix_waypoint.sql * Update data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql * Update data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql * Update data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql --------- Co-authored-by: Stefano Borzì --- data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql diff --git a/data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql b/data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql new file mode 100644 index 000000000..0238febcd --- /dev/null +++ b/data/sql/updates/pending_db_world/Kitrik_Fix_waypoint.sql @@ -0,0 +1,7 @@ + +UPDATE `creature_template` SET `MovementType`= 0, `movementId`= 0 WHERE (`entry` = 28683); +UPDATE `creature` SET `MovementType`= 2 WHERE `guid` = 128455 AND `id1` = 28683; + +DELETE FROM `creature_addon` WHERE (`guid` IN (128455)); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(128455, 12845500, 2409, 0, 1, 0, 0, NULL);