mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Scripts/TotT: implement cosmetic event for Mindbender Ghur'sha's wing adds during the shock defense event
This commit is contained in:
126
sql/updates/world/custom/custom_2019_01_21_00_world.sql
Normal file
126
sql/updates/world/custom/custom_2019_01_21_00_world.sql
Normal file
@@ -0,0 +1,126 @@
|
||||
-- Pathing for Entry: 40935 'TDB FORMAT'
|
||||
SET @NPC := 40935;
|
||||
SET @PATH := @NPC * 10 + 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,-307.976,685.569,279.2921,0,0,1,0,100,0),
|
||||
(@PATH,2,-309.986,707.476,277.1083,0,0,1,0,100,0),
|
||||
(@PATH,3,-308.396,736.365,274.4832,0,0,1,0,100,0);
|
||||
-- 0x20307C506027F9C00033C700004F2085 .go xyz -309.986 707.476 277.1083
|
||||
|
||||
-- Pathing for Entry: 40935 'TDB FORMAT'
|
||||
SET @NPC := 40935;
|
||||
SET @PATH := @NPC * 10 + 1;
|
||||
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,-310.2972,683.6573,279.4153,0,0,1,0,100,0),
|
||||
(@PATH,2,-312.6634,703.8225,277.1032,0,0,1,0,100,0),
|
||||
(@PATH,3,-312.12,723.2926,275.1376,0,0,1,0,100,0),
|
||||
(@PATH,4,-311.3914,736.5298,274.4193,0,0,1,0,100,0);
|
||||
-- 0x20307C506027F9C00033C70000CF2085 .go xyz -312.6634 703.8225 277.1032
|
||||
|
||||
-- Pathing for Entry: 40935 'TDB FORMAT'
|
||||
SET @NPC := 40935;
|
||||
SET @PATH := @NPC * 10 + 2;
|
||||
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,-305.4292,687.1641,279.2308,0,0,1,0,100,0),
|
||||
(@PATH,2,-306.6885,704.3707,277.979,0,0,1,0,100,0),
|
||||
(@PATH,3,-306.1291,722.9629,276.1883,0,0,1,0,100,0),
|
||||
(@PATH,4,-305.4005,736.2001,274.547,0,0,1,0,100,0);
|
||||
-- 0x20307C506027F9C00033C700014F2085 .go xyz -306.6885 704.3707 277.979
|
||||
|
||||
-- Pathing for Entry: 40935 'TDB FORMAT'
|
||||
SET @NPC := 40935;
|
||||
SET @PATH := @NPC * 10 + 3;
|
||||
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,-312.7645,681.9494,279.5093,0,0,1,0,100,0),
|
||||
(@PATH,2,-315.6508,703.5484,276.8904,0,0,1,0,100,0),
|
||||
(@PATH,3,-315.1155,723.4575,274.9303,0,0,1,0,100,0),
|
||||
(@PATH,4,-314.3869,736.6947,274.4437,0,0,1,0,100,0);
|
||||
-- 0x20307C506027F9C00033C70001CF2085 .go xyz -315.6508 703.5484 276.8904
|
||||
|
||||
-- Pathing for Entry: 40935 'TDB FORMAT'
|
||||
SET @NPC := 40935;
|
||||
SET @PATH := @NPC * 10 + 4;
|
||||
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,-307.976,685.569,279.2921,0,0,1,0,100,0),
|
||||
(@PATH,2,-309.986,707.476,277.1083,0,0,1,0,100,0),
|
||||
(@PATH,3,-309.071,735.37,274.5955,0,0,1,0,100,0),
|
||||
(@PATH,4,-309.009,757.309,263.934,0,0,1,0,100,0),
|
||||
(@PATH,5,-308.55,781.698,260.8929,0,0,1,0,100,0);
|
||||
-- 0x20307C506027F9C00033C700024F2085 .go xyz -309.986 707.476 277.1083
|
||||
|
||||
-- Pathing for Entry: 40935 'TDB FORMAT'
|
||||
SET @NPC := 40935;
|
||||
SET @PATH := @NPC * 10 + 5;
|
||||
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,-311.2418,683.2592,279.4289,0,0,1,0,100,0),
|
||||
(@PATH,2,-313.9257,706.6353,276.6516,0,0,1,0,100,0),
|
||||
(@PATH,3,-313.3742,726.1921,274.9247,0,0,1,0,100,0),
|
||||
(@PATH,4,-313.0463,744.1206,270.568,0,0,1,0,100,0),
|
||||
(@PATH,5,-312.9208,762.0318,263.3555,0,0,1,0,100,0),
|
||||
(@PATH,6,-312.5598,781.2148,261.09,0,0,1,0,100,0),
|
||||
(@PATH,7,-312.5493,781.7733,261.0433,0,0,1,0,100,0);
|
||||
-- 0x20307C506027F9C00033C70002CF2085 .go xyz -313.9257 706.6353 276.6516
|
||||
|
||||
|
||||
-- Pathing for Entry: 40943 'TDB FORMAT'
|
||||
SET @NPC := 40943;
|
||||
SET @PATH := @NPC * 10 + 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,-302.9841, 688.9024,279.2318,0,0,1,0,100,0),
|
||||
(@PATH,2,-303.6833,704.5848,278.4157,0,0,1,0,100,0),
|
||||
(@PATH,3,-303.1336,722.798,276.6592,0,0,1,0,100,0),
|
||||
(@PATH,4,-302.4051,736.0353,274.7777,0,0,1,0,100,0);
|
||||
-- 0x20307C506027FBC00033C700004F2085 .go xyz -303.6833 704.5848 278.4157
|
||||
|
||||
-- Pathing for Entry: 40943 'TDB FORMAT'
|
||||
SET @NPC := 40943;
|
||||
SET @PATH := @NPC * 10 + 1;
|
||||
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,-315.2096,680.2112,279.512,0,0,1,0,100,0),
|
||||
(@PATH,2,-318.6383,703.2744,276.7856,0,0,1,0,100,0),
|
||||
(@PATH,3,-318.1109,723.6223,274.7229,0,0,1,0,100,0),
|
||||
(@PATH,4,-317.3824,736.8595,274.1223,0,0,1,0,100,0);
|
||||
-- 0x20307C506027FBC00033C70000CF2085 .go xyz -318.6383 703.2744 276.7856
|
||||
|
||||
|
||||
-- Pathing for Entry: 40936 'TDB FORMAT'
|
||||
SET @NPC := 40936;
|
||||
SET @PATH := @NPC * 10 + 0;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-309.076,`position_y`=704.163,`position_z`=277.6152 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,-307.078,686.042,279.2762,0,0,1,0,100,0),
|
||||
(@PATH,2,-309.076,704.163,277.6152,0,0,1,0,100,0),
|
||||
(@PATH,3,-309.234,731.38,275.0259,0,0,1,0,100,0);
|
||||
-- 0x20307C506027FA000033C700004F2085 .go xyz -309.076 704.163 277.6152
|
||||
|
||||
-- Pathing for Entry: 40936 'TDB FORMAT'
|
||||
SET @NPC := 40936;
|
||||
SET @PATH := @NPC * 10 + 1;
|
||||
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,-308.257,692.484,278.5874,0,0,0,0,100,0),
|
||||
(@PATH,2,-309.76,733.429,274.8205,0,0,0,0,100,0),
|
||||
(@PATH,3,-309.712,700.297,277.756,0,0,0,0,100,0),
|
||||
(@PATH,4,-306.3205,686.41,279.2822,0,0,0,0,100,0),
|
||||
(@PATH,5,-298.974,670.188,280.3882,0,0,0,0,100,0),
|
||||
(@PATH,6,-285.635,657.54,282.6055,0,0,0,0,100,0),
|
||||
(@PATH,7,-270.333,647.406,284.3848,0,0,0,0,100,0),
|
||||
(@PATH,8,-259.951,644.174,285.0887,0,0,0,0,100,0),
|
||||
(@PATH,9,-277.727,651.707,283.6149,0,0,0,0,100,0),
|
||||
(@PATH,10,-292.729,663.596,281.6521,0,0,0,0,100,0),
|
||||
(@PATH,11,-303.755,676.913,279.7778,0,0,0,0,100,0);
|
||||
-- 0x20307C506027FA000033C700004F2085 .go xyz -308.257 692.484 278.5874
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` IN (255066, 255071, 255073, 255064, 255065, 255070, 255069, 255072, 255067);
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (255066, 255071, 255073, 255064, 255065, 255070, 255069, 255072, 255067);
|
||||
Reference in New Issue
Block a user