Skip to content

Commit

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

(cherry picked from commit cmangos/tbc-db@3ab26d6
  • Loading branch information
Daribon authored and AnonXS committed Nov 3, 2024
1 parent 29cf6ea commit c287076
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Updates/4665_TDB-0486_VDB-20231111004702_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
-- Add your query below.
-- https://github.com/vmangos/core/commit/728d0270fe2b26773c9aea326e32699c01761767

-- Pathing for Molt Thorn Entry: 14448
DELETE FROM `creature` WHERE `id` = 14448 AND `guid` != 48345;
SET @NPC := 14448;
UPDATE `creature` SET `spawndist`=0,`movementtype`=4,`position_x`=-10372.76,`position_y`=-2757.6826,`position_z`=17.499084 WHERE `id`=@NPC;
DELETE FROM `pool_creature_template` WHERE `id` = 14448;
DELETE FROM `pool_template` WHERE `entry` = 1128; -- 1128 1 Molt Thorn (14448)
DELETE FROM `creature_movement_template` WHERE `entry`=@NPC;
INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES
(@NPC,1,-10372.76,-2757.6826,17.499084,100,0,0),
(@NPC,2,-10400.012,-2781.2932,17.499088,100,0,0),
(@NPC,3,-10419.404,-2802.7551,17.499088,100,0,0),
(@NPC,4,-10424.825,-2830.8735,17.499088,100,0,0),
(@NPC,5,-10413.998,-2844.0894,17.477198,100,0,0),
(@NPC,6,-10386.297,-2875.072,17.499084,100,0,0),
(@NPC,7,-10373.333,-2900.8286,17.499084,100,0,0),
(@NPC,8,-10351.552,-2923.1472,17.499084,100,0,0),
(@NPC,9,-10332.582,-2934.5989,17.423042,100,0,0),
(@NPC,10,-10317.686,-2915.348,17.49908,100,0,0),
(@NPC,11,-10303.875,-2920.8337,17.49908,100,0,0),
(@NPC,12,-10274.936,-2935.7683,17.49908,100,0,0),
(@NPC,13,-10299.674,-2915.3694,17.49908,100,0,0),
(@NPC,14,-10322.778,-2912.8298,18.183163,100,0,0),
(@NPC,15,-10326.502,-2931.2092,17.439022,100,0,0),
(@NPC,16,-10341.627,-2950.7422,17.46344,100,0,0),
(@NPC,17,-10340.352,-2980.3801,17.475403,100,0,0),
(@NPC,18,-10331.167,-3011.9717,17.499086,100,0,0),
(@NPC,19,-10320.729,-3022.7256,17.499086,100,0,0),
(@NPC,20,-10305.837,-3026.4949,17.499086,100,0,0),
(@NPC,21,-10276.681,-3039.2546,17.499092,100,0,0);
-- 0x204CB000000E1C0000000C00003DDEA7 .go xyz -10372.76 -2757.6826 17.499084

-- End of migration.

0 comments on commit c287076

Please sign in to comment.