diff --git a/sql/updates/world/custom/custom_2019_05_03_00_world.sql b/sql/updates/world/custom/custom_2019_05_03_00_world.sql new file mode 100644 index 00000000000..93ca57e73f6 --- /dev/null +++ b/sql/updates/world/custom/custom_2019_05_03_00_world.sql @@ -0,0 +1,53 @@ +-- Pathing for Entry: 50056 'TDB FORMAT' +SET @NPC := 386802; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`= 0, `MovementType`= 2, `position_x`= 3935.186, `position_y`= -2562.16, `position_z`= 1022.845 WHERE `guid`= @NPC; +DELETE FROM `creature_addon` WHERE `guid`= @NPC; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES (@NPC, @PATH, 0, 0, 1, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH, 1, 3935.186, -2562.16, 1022.845, 0, 0, 0, 0, 100, 0), +(@PATH, 2, 3918.107, -2607.399, 1016.034, 0, 0, 0, 0, 100, 0), +(@PATH, 3, 3906.339, -2643.035, 1015.55, 0, 0, 0, 0, 100, 0), +(@PATH, 4, 3875.282, -2647.684, 1009.924, 0, 0, 0, 0, 100, 0), +(@PATH, 5, 3850.898, -2636.92, 1008.576, 0, 0, 0, 0, 100, 0), +(@PATH, 6, 3856.195, -2596.969, 1016.632, 0, 0, 0, 0, 100, 0), +(@PATH, 7, 3833.717, -2562.693, 1029.429, 0, 0, 0, 0, 100, 0), +(@PATH, 8, 3829.021, -2530.828, 1042.583, 0, 278, 0, 0, 100, 0), +(@PATH, 9, 3833.717, -2562.693, 1029.429, 0, 0, 0, 0, 100, 0), +(@PATH, 10, 3856.195, -2596.969, 1016.632, 0, 0, 0, 0, 100, 0), +(@PATH, 11, 3850.898, -2636.92, 1008.576, 0, 0, 0, 0, 100, 0), +(@PATH, 12, 3875.282, -2647.684, 1009.924, 0, 0, 0, 0, 100, 0), +(@PATH, 13, 3906.339, -2643.035, 1015.55, 0, 0, 0, 0, 100, 0), +(@PATH, 14, 3918.107, -2607.399, 1016.034, 0, 0, 0, 0, 100, 0), +(@PATH, 15, 3935.186, -2562.16, 1022.845, 0, 0, 0, 0, 100, 0), +(@PATH, 16, 3960.214, -2535.056, 1034.589, 0, 0, 0, 0, 100, 0), +(@PATH, 17, 3982.997, -2538.144, 1032.229, 0, 0, 0, 0, 100, 0), +(@PATH, 18, 4020.354, -2538.778, 1032.581, 0, 0, 0, 0, 100, 0), +(@PATH, 19, 4045.103, -2519.853, 1034.93, 0, 0, 0, 0, 100, 0), +(@PATH, 20, 4080.175, -2506.394, 1039.975, 0, 0, 0, 0, 100, 0), +(@PATH, 21, 4101.476, -2497.571, 1036.108, 0, 0, 0, 0, 100, 0), +(@PATH, 22, 4133.491, -2504.915, 1039.874, 0, 0, 0, 0, 100, 0), +(@PATH, 23, 4148.96, -2520.557, 1040.89, 0, 143, 0, 0, 100, 0), +(@PATH, 24, 4133.491, -2504.915, 1039.874, 0, 0, 0, 0, 100, 0), +(@PATH, 25, 4101.476, -2497.571, 1036.108, 0, 0, 0, 0, 100, 0), +(@PATH, 26, 4080.228, -2506.377, 1039.929, 0, 0, 0, 0, 100, 0), +(@PATH, 27, 4045.103, -2519.853, 1034.93, 0, 0, 0, 0, 100, 0), +(@PATH, 28, 4020.354, -2538.778, 1032.581, 0, 0, 0, 0, 100, 0), +(@PATH, 29, 3982.997, -2538.144, 1032.229, 0, 0, 0, 0, 100, 0), +(@PATH, 30, 3960.214, -2535.056, 1034.589, 0, 0, 0, 0, 100, 0); +-- 0x201F70002030E200001B99000029896B .go xyz 3935.186 -2562.16 1022.845 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 386802; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(386802, 386802, 0, 0, 515, 0, 0), +(386802, 386801, 14, 0, 515, 8, 23), +(386802, 386795, 14, 45, 515, 8, 23), +(386802, 386797, 14, 90, 515, 8, 23), +(386802, 386799, 14, 135, 515, 8, 23), +(386802, 386800, 14, 180, 515, 8, 23), +(386802, 386803, 14, 225, 515, 8, 23), +(386802, 386804, 14, 270, 515, 8, 23), +(386802, 386805, 14, 315, 515, 8, 23); + +UPDATE `creature` SET `position_x`= 3935.186, `position_y`= -2562.16, `position_z`= 1022.845, `MovementType`= 0, `spawndist`= 0 WHERE `guid` IN (386801, 386795, 386797, 386799, 386800, 386803, 386804, 386805);