From 45635af7ea15032ca5d9ef5afb8704e0d6a56189 Mon Sep 17 00:00:00 2001 From: Daribon Date: Sat, 18 Nov 2023 07:00:53 +0100 Subject: [PATCH] [TDB] Add waypoints to Foulmane. [VDB] (cherry picked from commit https://github.com/vmangos/core/commit/e38b956db7b16b2a53016285ad033d8299d5385b (cherry picked from commit https://github.com/cmangos/tbc-db/commit/637334f19c35791c866cb4a945e84acb88993872 --- ...4666_TDB-0487_VDB-20231111215040_world.sql | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Updates/4666_TDB-0487_VDB-20231111215040_world.sql diff --git a/Updates/4666_TDB-0487_VDB-20231111215040_world.sql b/Updates/4666_TDB-0487_VDB-20231111215040_world.sql new file mode 100644 index 000000000..22540223d --- /dev/null +++ b/Updates/4666_TDB-0487_VDB-20231111215040_world.sql @@ -0,0 +1,28 @@ +-- Add your query below. +-- https://github.com/vmangos/core/commit/e38b956db7b16b2a53016285ad033d8299d5385b + +-- Pathing for Foulmane Entry: 1847 +SET @NPC := 1847; +DELETE FROM `creature` WHERE `id` = 1847 AND `guid` != 45454; +UPDATE `creature` SET `spawndist`=0,`movementtype`=2,`position_x`=1867.8231,`position_y`=-1582.6323,`position_z`=59.543274 WHERE `id`=@NPC; +DELETE FROM `pool_creature_template` WHERE `id` = 1847; +DELETE FROM `pool_template` WHERE `entry` = 1154; -- 1154 1 Foulmane (1847) +DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; +INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES +(@NPC,1,1867.8231,-1582.6323,59.543274,100,0,0), +(@NPC,2,1862.686,-1575.6617,59.418274,100,0,0), +(@NPC,3,1865.2483,-1568.495,58.918274,100,0,0), +(@NPC,4,1862.7682,-1561.516,59.257603,100,0,0), +(@NPC,5,1866.2867,-1555.184,59.20914,100,0,0), +(@NPC,6,1874.4098,-1548.5449,59.26224,100,0,0), +(@NPC,7,1888.9252,-1546.674,58.882603,100,0,0), +(@NPC,8,1898.0934,-1554.2573,59.132603,100,0,0), +(@NPC,9,1900.8027,-1568.277,59.696507,100,0,0), +(@NPC,10,1899.4547,-1582.4746,59.418274,100,0,0), +(@NPC,11,1896.0823,-1588.0172,59.168274,100,0,0), +(@NPC,12,1885.111,-1591.6702,59.293274,100,0,0), +(@NPC,13,1874.7734,-1589.3805,59.629944,100,0,0); +-- .go xyz 1867.8231 -1582.6323 59.543274 + +-- End of migration. +