From 4e886a9151ea03ac389e805c5057bf93a6a105dc Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 9 Jul 2019 12:40:52 +0200 Subject: [PATCH] DB/TB: removed a unneeded spawn and use the already spawned guid for the pathing instead --- sql/updates/world/custom/custom_2019_07_09_00_world.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sql/updates/world/custom/custom_2019_07_09_00_world.sql b/sql/updates/world/custom/custom_2019_07_09_00_world.sql index 93abd141a21..8c37f939719 100644 --- a/sql/updates/world/custom/custom_2019_07_09_00_world.sql +++ b/sql/updates/world/custom/custom_2019_07_09_00_world.sql @@ -548,11 +548,9 @@ INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `positio DELETE FROM `creature` WHERE `guid`= 252434; DELETE FROM `creature_addon` WHERE `guid`= 252434; -INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES -(252434, 46989, 732, 5389, 5539, 1, 169, 0, 0, 0, -34.45447, 1682.912, 34.91486, 3.910952, 120, 10, 0, 0, 0, 1, 0, 0, 0, 30948); -- 46989 (Area: 5539 - Difficulty: 0) (Auras: 81219 - 81219) (possible waypoints or random movement) -- Pathing for Entry: 46989 'TDB FORMAT' -SET @NPC := 252434; +SET @NPC := 291407; SET @PATH := @NPC * 10; UPDATE `creature` SET `spawndist`= 0, `MovementType`= 2, `position_x`= -112.3837, `position_y`= 1608.026, `position_z`= 20.93827 WHERE `guid`= @NPC; DELETE FROM `creature_addon` WHERE `guid`= @NPC;