Skip to content

Commit

Permalink
[TDB] Add waypoints to Foulmane. [VDB]
Browse files Browse the repository at this point in the history
(cherry picked from commit vmangos/core@e38b956

(cherry picked from commit cmangos/tbc-db@637334f
  • Loading branch information
Daribon authored and AnonXS committed Nov 3, 2024
1 parent c287076 commit 45635af
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Updates/4666_TDB-0487_VDB-20231111215040_world.sql
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 45635af

Please sign in to comment.