Organize creature GUIDs (#700)

- reorganize the guids used for Into the Breach, Maraudon Patrols and Alterac Valley
- cleanup the 00_cleanup.sql file
- improve zone_alterac_valley with the use of wpid
This commit is contained in:
Grimfeather
2025-09-05 08:36:08 +02:00
committed by GitHub
parent 0cb4c9b9e1
commit e26dc1dd86
4 changed files with 224 additions and 269 deletions

View File

@@ -21,57 +21,11 @@ DELETE FROM `dungeon_access_requirements` WHERE `dungeon_access_id` = 123;
-- undo incorrect title change
UPDATE `creature_template` SET `subname` = 'Master Blacksmithing Trainer' WHERE `entry` = 16583;
-- undo previous method of Lights Hope Chapel phasing
UPDATE `creature` SET `phaseMask` = 1 WHERE `id1` IN
(11102, 16112, 16113, 16114, 16115, 16116, 16131, 16132, 16133, 16134, 16135, 16212, 16225, 16228, 16229, 16256, 16283, 16284, 16376, 16378, 17069, 17072);
-- Naxx40 - Razuvious
DELETE FROM `spell_script_names` WHERE `spell_id` IN (29107, 55543);
-- Drop source for 2.3 Jewelcrafting Recipe
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 19768; -- disabled for now to prevent the creature from attacking while phased
-- undo TBC vendor phasing
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` IN (17585, 17657, 21655);
-- UNDO previous cloning method to hide vendor item drops
SET @Nakodu := 121655;
SET @Urgronn := 117585;
SET @Ulrike := 117657;
DELETE FROM `creature_template` WHERE `entry` IN (@Nakodu, @Urgronn, @Ulrike);
DELETE FROM `creature_template_addon` WHERE `entry` IN (@Nakodu, @Urgronn, @Ulrike);
DELETE FROM `creature_template_locale` WHERE `entry` IN (@Nakodu, @Urgronn, @Ulrike);
DELETE FROM `creature_template_model` WHERE `CreatureID` IN (@Nakodu, @Urgronn, @Ulrike);
DELETE FROM `creature` WHERE `id1` IN (@Nakodu, @Urgronn, @Ulrike);
DELETE FROM `npc_vendor` WHERE `entry` IN (@Nakodu, @Urgronn, @Ulrike);
DELETE FROM `creature_equip_template` WHERE `CreatureID` = @Ulrike;
-- UNDO previous cloning - SI friendship NPCs
SET @Zarena := 102482;
SET @Miles := 103044;
SET @Elissa := 104165;
SET @Alexander := 105173;
SET @Joanna := 105698;
SET @Deze := 115006;
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` IN (2482, 3044, 4165, 5173, 5698, 15006);
DELETE FROM `creature_template` WHERE `entry` IN (@Zarena, @Miles, @Elissa, @Alexander, @Joanna, @Deze);
DELETE FROM `creature_template_addon` WHERE `entry` IN (@Elissa, @Alexander);
DELETE FROM `creature_template_locale` WHERE `entry` IN (@Zarena, @Miles, @Elissa, @Alexander, @Joanna, @Deze);
DELETE FROM `creature_template_model` WHERE `CreatureID` IN (@Zarena, @Miles, @Elissa, @Alexander, @Joanna, @Deze);
DELETE FROM `creature` WHERE `id1` IN (@Zarena, @Miles, @Elissa, @Alexander, @Joanna, @Deze);
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (@Zarena, @Miles, @Elissa, @Alexander, @Joanna, @Deze);
DELETE FROM `npc_vendor` WHERE `entry` = @Zarena;
DELETE FROM `npc_trainer` WHERE `ID` = @Elissa;
DELETE FROM `battlemaster_entry` WHERE `entry` = @Deze;
-- alliance battlemasters
DELETE FROM `game_event_creature` WHERE `guid` IN (207918, 207929, 207951, 208042, 208081, 208107);
-- Alterac Valley - now using @CGUID 670000 instead
DELETE FROM `waypoint_data` WHERE `id` IN (6300880, 6300890, 6301050, 6301060, 6301140, 6301330, 6301380, 6301390);
DELETE FROM `creature_addon` WHERE `guid` IN (630088, 630089, 630105, 630106, 630114, 630133, 630138, 630139, 630164, 630165, 630181, 630182, 630190, 630209, 630214, 630215);
-- Naxx40 - Razuvious
DELETE FROM `spell_script_names` WHERE `spell_id` IN (29107, 55543);
-- Naxx40
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 15975;
@@ -97,38 +51,34 @@ UPDATE `creature` SET `ScriptName` = '' WHERE `id1` IN (16241, 16255, 16281, 162
-- remove AzerothCore area triggers used by WotLK Scourge Invasion Event
DELETE FROM `areatrigger_involvedrelation` WHERE `id` IN (4092, 4094, 4095, 4096, 4098, 4099, 4100, 4101, 4103, 4104, 4105, 5151, 5152, 5153, 5154, 5158, 5159, 5160, 5161);
-- Restore Scourge Invasion Event
DELETE FROM `game_event_creature` WHERE `eventEntry` = 17 AND `guid` BETWEEN 248650 AND 248654;
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
(17, 248650),
(17, 248651),
(17, 248652),
(17, 248653),
(17, 248654);
-- maraudon cleanup
SET @CGUID := 349000;
SET @WPID := 3490000;
DELETE FROM `game_event_npcflag` WHERE `eventEntry` = 17 AND `guid` IN (1803, 26771, 38112, 46320, 208240);
INSERT INTO `game_event_npcflag` (`eventEntry`, `guid`, `npcflag`) VALUES
(17, 1803, 179),
(17, 26771, 179),
(17, 38112, 129),
(17, 46320, 177),
(17, 208240, 1048705);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+1 AND @CGUID+32;
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+1, @CGUID+6, @CGUID+11, @CGUID+16, @CGUID+21, @CGUID+26, @CGUID+31);
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+1, @CGUID+6, @CGUID+11, @CGUID+16, @CGUID+21, @CGUID+26, @CGUID+31);
DELETE FROM `waypoint_data` WHERE `id` IN (@WPID+10, @WPID+60, @WPID+110, @WPID+160, @WPID+210, @WPID+260, @WPID+310);
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+41, @CGUID+42, @CGUID+43, @CGUID+44);
DELETE FROM `game_event_npc_vendor` WHERE `eventEntry` = 17 AND `guid` IN (7, 1803, 26771, 38112, 46320, 208240);
INSERT INTO `game_event_npc_vendor` (`eventEntry`, `guid`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES
(17, 7, 0, 23160, 0, 0, 0),
(17, 7, 0, 23161, 0, 0, 0),
(17, 1803, 0, 23160, 0, 0, 0),
(17, 1803, 0, 23161, 0, 0, 0),
(17, 26771, 0, 23160, 0, 0, 0),
(17, 26771, 0, 23161, 0, 0, 0),
(17, 38112, 0, 23160, 0, 0, 0),
(17, 38112, 0, 23161, 0, 0, 0),
(17, 46320, 0, 23160, 0, 0, 0),
(17, 46320, 0, 23161, 0, 0, 0),
(17, 208240, 0, 23160, 0, 0, 0),
(17, 208240, 0, 23161, 0, 0, 0);
-- Into the Breach cleanup
SET @CGUID := 640000;
SET @WPID := 6400000;
DELETE FROM `game_event` WHERE `eventEntry` = 17;
INSERT INTO `game_event` (`eventEntry`, `start_time`, `end_time`, `occurence`, `length`, `holiday`, `holidayStage`, `description`, `world_event`, `announce`) VALUES
(17, '2000-01-01 14:00:00', '2000-01-01 14:00:00', 525600, 1, 0, 0, 'Scourge Invasion', 0, 2);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+212;
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+6, @CGUID+7, @CGUID+8, @CGUID+200, @CGUID+203, @CGUID+206);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-640006, -640007, -640008);
DELETE FROM `creature_addon` WHERE `guid` IN
(@CGUID+4, @CGUID+5, @CGUID+6, @CGUID+7, @CGUID+8, @CGUID+9, @CGUID+10, @CGUID+11, @CGUID+12, @CGUID+13, @CGUID+14, @CGUID+15,
@CGUID+16, @CGUID+17, @CGUID+18, @CGUID+19, @CGUID+20, @CGUID+21, @CGUID+22, @CGUID+102, @CGUID+200, @CGUID+203, @CGUID+206);
DELETE FROM `waypoint_data` WHERE `id` IN
(@WPID+40, @WPID+50, @WPID+60, @WPID+70, @WPID+80, @WPID+90, @WPID+100, @WPID+110, @WPID+120, @WPID+130, @WPID+140, @WPID+150,
@WPID+160, @WPID+170, @WPID+180, @WPID+190, @WPID+200, @WPID+0210, @WPID+0220, @WPID+1020, @WPID+2000, @WPID+2030, @WPID+2060);
-- AV cleanup
SET @CGUID := 670000;
SET @WPID := 6700000;
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+88, @CGUID+89, @CGUID+105, @CGUID+106, @CGUID+114, @CGUID+133, @CGUID+138, @CGUID+139);
DELETE FROM `waypoint_data` WHERE `id` IN (@WPID+880, @WPID+890, @WPID+1050, @WPID+1060, @WPID+1140, @WPID+1330, @WPID+1380, @WPID+1390);
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+164, @CGUID+165, @CGUID+181, @CGUID+182, @CGUID+190, @CGUID+209, @CGUID+214, @CGUID+215);

View File

@@ -116,8 +116,8 @@ DELETE FROM `creature_addon` WHERE `guid` IN
-- create new patrols
SET @CGUID := 349000;
SET @WPID := 3490000;
SET @CGUID := 652000;
SET @WPID := 6520000;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+1 AND @CGUID+32;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`,

View File

@@ -1,4 +1,5 @@
SET @CGUID := 670000;
SET @CGUID := 657000;
SET @WPID := 6570000;
/* VANILLA AV */
@@ -170,78 +171,78 @@ INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`,
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+88, @CGUID+89, @CGUID+105, @CGUID+106, @CGUID+114, @CGUID+133, @CGUID+138, @CGUID+139);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+088, 6700880, 0, 0, 0, 0, 0, NULL),
(@CGUID+089, 6700890, 0, 0, 0, 0, 0, NULL),
(@CGUID+105, 6701050, 0, 0, 0, 0, 0, NULL),
(@CGUID+106, 6701060, 0, 0, 0, 0, 0, NULL),
(@CGUID+114, 6701140, 0, 0, 0, 0, 0, NULL),
(@CGUID+133, 6701330, 0, 0, 0, 0, 0, NULL),
(@CGUID+138, 6701380, 0, 0, 0, 0, 0, NULL),
(@CGUID+139, 6701390, 0, 0, 0, 0, 0, NULL);
(@CGUID+088, @WPID+880, 0, 0, 0, 0, 0, NULL),
(@CGUID+089, @WPID+890, 0, 0, 0, 0, 0, NULL),
(@CGUID+105, @WPID+1050, 0, 0, 0, 0, 0, NULL),
(@CGUID+106, @WPID+1060, 0, 0, 0, 0, 0, NULL),
(@CGUID+114, @WPID+1140, 0, 0, 0, 0, 0, NULL),
(@CGUID+133, @WPID+1330, 0, 0, 0, 0, 0, NULL),
(@CGUID+138, @WPID+1380, 0, 0, 0, 0, 0, NULL),
(@CGUID+139, @WPID+1390, 0, 0, 0, 0, 0, NULL);
DELETE FROM `waypoint_data` WHERE `id` IN (6700880, 6700890, 6701050, 6701060, 6701140, 6701330, 6701380, 6701390);
DELETE FROM `waypoint_data` WHERE `id` IN (@WPID+880, @WPID+890, @WPID+1050, @WPID+1060, @WPID+1140, @WPID+1330, @WPID+1380, @WPID+1390);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(6700880, 1, 107.532, 91.634, 3.44018, NULL, 0, 0, 0, 100, 0),
(6700880, 2, 135.909, 68.6533, 3.74254, NULL, 0, 0, 0, 100, 0),
(6700880, 3, 173.596, 71.678, 13.3575, NULL, 0, 0, 0, 100, 0),
(6700880, 4, 188.311, 86.4007, 16.829, NULL, 0, 0, 0, 100, 0),
(6700880, 5, 216.921, 121.522, 13.6167, NULL, 0, 0, 0, 100, 0),
(6700880, 6, 190.155, 90.6858, 17.334, NULL, 0, 0, 0, 100, 0),
(6700880, 7, 173.998, 72.3586, 13.3698, NULL, 0, 0, 0, 100, 0),
(6700880, 8, 142.47, 66.9583, 4.86477, NULL, 0, 0, 0, 100, 0),
(6700890, 1, 34.4731, 67.0783, -0.96716, NULL, 0, 0, 0, 100, 0),
(6700890, 2, 18.8568, 33.434, 0.513404, NULL, 0, 0, 0, 100, 0),
(6700890, 3, 8.27625, 12.1935, -3.36688, NULL, 0, 0, 0, 100, 0),
(6700890, 4, 22.8894, 38.2457, 0.652063, NULL, 0, 0, 0, 100, 0),
(6700890, 5, 33.8784, 70.2081, -1.25908, NULL, 0, 0, 0, 100, 0),
(6700890, 6, 4.04712, 99.1641, 2.97839, NULL, 0, 0, 0, 100, 0),
(6700890, 7, -4.3458, 128.547, 10.5413, NULL, 0, 0, 0, 100, 0),
(6700890, 8, 5.94824, 97.7592, 2.19971, NULL, 0, 0, 0, 100, 0),
(6701050, 1, -1552.87, -462.513, 69.469, NULL, 0, 0, 0, 100, 0),
(6701050, 2, -1559.73, -453.094, 68.9309, NULL, 0, 0, 0, 100, 0),
(6701050, 3, -1571.22, -445.56, 68.1062, NULL, 0, 0, 0, 100, 0),
(6701050, 4, -1571.89, -451.277, 67.0615, NULL, 0, 0, 0, 100, 0),
(6701050, 5, -1558.92, -476.742, 59.8373, NULL, 0, 0, 0, 100, 0),
(6701050, 6, -1573.17, -446.339, 68.4464, NULL, 0, 0, 0, 100, 0),
(6701050, 7, -1566.42, -445.995, 67.7643, NULL, 0, 0, 0, 100, 0),
(6701060, 1, -1514.54, -447.915, 70.2823, NULL, 0, 0, 0, 100, 0),
(6701060, 2, -1495.22, -442.945, 69.4469, NULL, 0, 0, 0, 100, 0),
(6701060, 3, -1480.59, -465.892, 69.4469, NULL, 0, 0, 0, 100, 0),
(6701060, 4, -1491.62, -453.084, 69.4469, NULL, 0, 0, 0, 100, 0),
(6701060, 5, -1502.4, -457.219, 69.4345, NULL, 0, 0, 0, 100, 0),
(6701060, 6, -1482.83, -437.001, 70.0186, NULL, 0, 0, 0, 100, 0),
(6701060, 7, -1479.76, -464.368, 69.4469, NULL, 0, 0, 0, 100, 0),
(6701060, 8, -1495.49, -441.992, 69.4469, NULL, 0, 0, 0, 100, 0),
(6701140, 1, -1539.52, -460.755, 70.077, NULL, 0, 0, 0, 100, 0),
(6701140, 2, -1517.66, -448.317, 70.4951, NULL, 0, 0, 0, 100, 0),
(6701140, 3, -1510.93, -453.055, 69.447, NULL, 0, 0, 0, 100, 0),
(6701140, 4, -1513.69, -461.901, 69.447, NULL, 0, 0, 0, 100, 0),
(6701140, 5, -1535.12, -472.623, 69.6797, NULL, 0, 0, 0, 100, 0),
(6701330, 1, -1594.06, -367.967, 69.0143, NULL, 0, 0, 0, 100, 0),
(6701330, 2, -1567.27, -395.809, 65.3724, NULL, 0, 0, 0, 100, 0),
(6701330, 3, -1573.34, -415.208, 71.257, NULL, 0, 0, 0, 100, 0),
(6701330, 4, -1596.75, -443.826, 77.3819, NULL, 0, 0, 0, 100, 0),
(6701330, 5, -1611.53, -440.844, 80.1471, NULL, 0, 0, 0, 100, 0),
(6701330, 6, -1611.88, -422.006, 76.6271, NULL, 0, 0, 0, 100, 0),
(6701330, 7, -1601.56, -400.693, 80.8361, NULL, 0, 0, 0, 100, 0),
(6701330, 8, -1616.2, -435.566, 80.0329, NULL, 0, 0, 0, 100, 0),
(6701330, 9, -1594.53, -443.173, 76.8117, NULL, 0, 0, 0, 100, 0),
(6701330, 10, -1573.21, -415.46, 71.2936, NULL, 0, 0, 0, 100, 0),
(6701330, 11, -1569.72, -394.342, 65.5518, NULL, 0, 0, 0, 100, 0),
(6701380, 1, -1638.22, -460.302, 51.8857, NULL, 0, 0, 0, 100, 0),
(6701380, 2, -1646.52, -447.43, 49.9786, NULL, 0, 0, 0, 100, 0),
(6701380, 3, -1638.71, -427.875, 49.1378, NULL, 0, 0, 0, 100, 0),
(6701380, 4, -1663.81, -421.352, 45.5899, NULL, 0, 0, 0, 100, 0),
(6701380, 5, -1638.18, -426.447, 48.9697, NULL, 0, 0, 0, 100, 0),
(6701380, 6, -1645.98, -446.584, 49.8422, NULL, 0, 0, 0, 100, 0),
(6701390, 1, 24.0984, 88.1343, 20.8263, NULL, 0, 0, 0, 100, 0),
(6701390, 2, -1.99808, 80.9053, 19.3438, NULL, 0, 0, 0, 100, 0),
(6701390, 3, -14.1757, 58.9795, 16.3095, NULL, 0, 0, 0, 100, 0),
(6701390, 4, -15.216, 36.8524, 16.8846, NULL, 0, 0, 0, 100, 0),
(6701390, 5, -14.1757, 58.9795, 16.3095, NULL, 0, 0, 0, 100, 0),
(6701390, 6, -2.69029, 79.8757, 19.3488, NULL, 0, 0, 0, 100, 0),
(6701390, 7, 24.0984, 88.1343, 20.8263, NULL, 0, 0, 0, 100, 0),
(6701390, 8, 42.8103, 103.346, 21.9067, NULL, 0, 0, 0, 100, 0);
(@WPID+880, 1, 107.532, 91.634, 3.44018, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 2, 135.909, 68.6533, 3.74254, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 3, 173.596, 71.678, 13.3575, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 4, 188.311, 86.4007, 16.829, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 5, 216.921, 121.522, 13.6167, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 6, 190.155, 90.6858, 17.334, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 7, 173.998, 72.3586, 13.3698, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 8, 142.47, 66.9583, 4.86477, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 1, 34.4731, 67.0783, -0.96716, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 2, 18.8568, 33.434, 0.513404, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 3, 8.27625, 12.1935, -3.36688, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 4, 22.8894, 38.2457, 0.652063, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 5, 33.8784, 70.2081, -1.25908, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 6, 4.04712, 99.1641, 2.97839, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 7, -4.3458, 128.547, 10.5413, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 8, 5.94824, 97.7592, 2.19971, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 1, -1552.87, -462.513, 69.469, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 2, -1559.73, -453.094, 68.9309, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 3, -1571.22, -445.56, 68.1062, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 4, -1571.89, -451.277, 67.0615, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 5, -1558.92, -476.742, 59.8373, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 6, -1573.17, -446.339, 68.4464, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 7, -1566.42, -445.995, 67.7643, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 1, -1514.54, -447.915, 70.2823, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 2, -1495.22, -442.945, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 3, -1480.59, -465.892, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 4, -1491.62, -453.084, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 5, -1502.4, -457.219, 69.4345, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 6, -1482.83, -437.001, 70.0186, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 7, -1479.76, -464.368, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 8, -1495.49, -441.992, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 1, -1539.52, -460.755, 70.077, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 2, -1517.66, -448.317, 70.4951, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 3, -1510.93, -453.055, 69.447, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 4, -1513.69, -461.901, 69.447, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 5, -1535.12, -472.623, 69.6797, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 1, -1594.06, -367.967, 69.0143, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 2, -1567.27, -395.809, 65.3724, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 3, -1573.34, -415.208, 71.257, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 4, -1596.75, -443.826, 77.3819, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 5, -1611.53, -440.844, 80.1471, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 6, -1611.88, -422.006, 76.6271, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 7, -1601.56, -400.693, 80.8361, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 8, -1616.2, -435.566, 80.0329, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 9, -1594.53, -443.173, 76.8117, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 10, -1573.21, -415.46, 71.2936, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 11, -1569.72, -394.342, 65.5518, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 1, -1638.22, -460.302, 51.8857, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 2, -1646.52, -447.43, 49.9786, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 3, -1638.71, -427.875, 49.1378, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 4, -1663.81, -421.352, 45.5899, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 5, -1638.18, -426.447, 48.9697, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 6, -1645.98, -446.584, 49.8422, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 1, 24.0984, 88.1343, 20.8263, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 2, -1.99808, 80.9053, 19.3438, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 3, -14.1757, 58.9795, 16.3095, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 4, -15.216, 36.8524, 16.8846, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 5, -14.1757, 58.9795, 16.3095, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 6, -2.69029, 79.8757, 19.3488, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 7, 24.0984, 88.1343, 20.8263, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 8, 42.8103, 103.346, 21.9067, NULL, 0, 0, 0, 100, 0);
/* WOTLK AV */
@@ -337,14 +338,14 @@ INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`,
-- Using the same waypoints as in the TBC version
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+164, @CGUID+165, @CGUID+181, @CGUID+182, @CGUID+190, @CGUID+209, @CGUID+214, @CGUID+215);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+164, 6700880, 0, 0, 0, 0, 0, NULL),
(@CGUID+165, 6700890, 0, 0, 0, 0, 0, NULL),
(@CGUID+181, 6701050, 0, 0, 0, 0, 0, NULL),
(@CGUID+182, 6701060, 0, 0, 0, 0, 0, NULL),
(@CGUID+190, 6701140, 0, 0, 0, 0, 0, NULL),
(@CGUID+209, 6701330, 0, 0, 0, 0, 0, NULL),
(@CGUID+214, 6701380, 0, 0, 0, 0, 0, NULL),
(@CGUID+215, 6701390, 0, 0, 0, 0, 0, NULL);
(@CGUID+164, @WPID+880, 0, 0, 0, 0, 0, NULL),
(@CGUID+165, @WPID+890, 0, 0, 0, 0, 0, NULL),
(@CGUID+181, @WPID+1050, 0, 0, 0, 0, 0, NULL),
(@CGUID+182, @WPID+1060, 0, 0, 0, 0, 0, NULL),
(@CGUID+190, @WPID+1140, 0, 0, 0, 0, 0, NULL),
(@CGUID+209, @WPID+1330, 0, 0, 0, 0, 0, NULL),
(@CGUID+214, @WPID+1380, 0, 0, 0, 0, 0, NULL),
(@CGUID+215, @WPID+1390, 0, 0, 0, 0, 0, NULL);
-- undo previous way of starting waypoints
UPDATE `creature_template` SET `flags_extra` = 0 WHERE `entry` IN (10991, 11678, 11837, 11839, 13959);-- DONT_OVERRIDE_SAI_ENTRY (134217728)

View File

@@ -145,10 +145,13 @@ INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `positio
-- Quest: Into the Breach
SET @CGUID := 640000;
SET @CGUID := 656000;
SET @WPID := 6560000;
SET @IPPPHASE_II := 131072;
REPLACE INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`,
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+212;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`,
`spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(@CGUID, 19287, 0, 0, 0, 0, 0, 1, @IPPPHASE_II, 0, -11871, -3218.74, -14.8771, 0.159796, 120, 0, 0, 3297, 2434, 0, 0, 0, 0, '', NULL, 0, NULL), -- Invading Voidwalker
@@ -258,39 +261,39 @@ UPDATE `creature_template` SET `unit_class` = 8 WHERE `entry` IN (19566, 19567);
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (19385, 19566, 19567);
UPDATE `creature_template` SET `flags_extra` = 2 WHERE `entry` = 19006;
UPDATE `creature_template` SET `flags_extra` = 134217728 WHERE `entry` IN (18966, 18969, 19284, 19286, 19287, 19288, 19320); -- DONT_OVERRIDE_SAI_ENTRY (134217728)
UPDATE `creature_template` SET `flags_extra` = 134217728 WHERE `entry` IN (19288); -- DONT_OVERRIDE_SAI_ENTRY (134217728) - Dreadknight
UPDATE `creature_template` SET `detection_range` = 40 WHERE `entry` IN (19287, 19566, 19567);
UPDATE `creature_template` SET `detection_range` = 30 WHERE `entry` IN (19285, 19290, 19365, 19366);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-640004, -640005, -640006, -640007, -640008, -640010, -640011, -640012, -640013, -640014, -640015, -640016, -640017, -640018, -640019,
-640020, -640021, -640022, -640102, -640203, -640206, 18966, 18969, 19287, 19365, 19385, 19391, 19566, 19567);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-656006, -656007, -656008);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (18966, 18969, 19287, 19365, 19385, 19391, 19566, 19567);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`,
`event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`,
`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`,
`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-640006, 0, 0, 1, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+206, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Melgromm Highmountain'),
(-640006, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+207, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'),
(-640006, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+208, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'),
(-640006, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'),
(-640006, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+23, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-640006, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+24, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
--
(-640007, 0, 0, 1, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+200, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Marshal Raynor'),
(-640007, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+201, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'),
(-640007, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+202, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'),
(-640007, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'),
(-640007, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+25, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-640007, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+26, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-656006, 0, 0, 1, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+206, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Melgromm Highmountain'),
(-656006, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+207, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'),
(-656006, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+208, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'),
(-656006, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'),
(-656006, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+23, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-656006, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+24, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
--
(-640008, 0, 0, 1, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+203, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Justinius the Harbinger'),
(-640008, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+204, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'),
(-640008, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+205, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'),
(-640008, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'),
(-640008, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+27, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-640008, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+28, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-656007, 0, 0, 1, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+200, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Marshal Raynor'),
(-656007, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+201, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'),
(-656007, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+202, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'),
(-656007, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'),
(-656007, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+25, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-656007, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+26, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
--
(-656008, 0, 0, 1, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+203, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Justinius the Harbinger'),
(-656008, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+204, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'),
(-656008, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+205, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'),
(-656008, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'),
(-656008, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+27, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
(-656008, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+28, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'),
--
(19365, 0, 0, 0, 9, 0, 100, 0, 0, 0, 4000, 4000, 30, 60, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Argent Bowman - Outside 30 Range - Start Combat Movement'),
(19365, 0, 1, 0, 9, 0, 100, 0, 0, 0, 4000, 4000, 5, 30, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Argent Bowman - Within 5-30 Range - Stop Combat Movement'),
@@ -318,99 +321,100 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
(19567, 0, 1, 0, 0, 0, 100, 0, 0, 1000, 3000, 4000, 0, 0, 11, 16799, 64, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Watcher Theronus - Within 0-40 Range - Cast Frostbolt');
DELETE FROM `creature_addon` WHERE `guid` IN (640004, 640005, 640006, 640007, 640008, 640009,
640010, 640011, 640012, 640013, 640014, 640015, 640016, 640017, 640018, 640019,
640020, 640021, 640022, 640102, 640200, 640203, 640206);
DELETE FROM `creature_addon` WHERE `guid` IN
(@CGUID+4, @CGUID+5, @CGUID+6, @CGUID+7, @CGUID+8, @CGUID+9, @CGUID+10, @CGUID+11, @CGUID+12, @CGUID+13, @CGUID+14, @CGUID+15,
@CGUID+16, @CGUID+17, @CGUID+18, @CGUID+19, @CGUID+20, @CGUID+21, @CGUID+22, @CGUID+102, @CGUID+200, @CGUID+203, @CGUID+206);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(640004, 6400040, 0, 0, 0, 0, 0, NULL),
(640005, 6400050, 0, 0, 0, 0, 0, NULL),
(640006, 6400060, 0, 0, 0, 0, 0, NULL),
(640007, 6400070, 0, 0, 0, 0, 0, NULL),
(640008, 6400080, 0, 0, 0, 0, 0, NULL),
(640009, 6400090, 0, 0, 0, 0, 0, NULL),
(640010, 6400100, 0, 0, 0, 0, 0, NULL),
(640011, 6400110, 0, 0, 0, 0, 0, NULL),
(640012, 6400120, 0, 0, 0, 0, 0, NULL),
(640013, 6400130, 0, 0, 0, 0, 0, NULL),
(640014, 6400140, 0, 0, 0, 0, 0, NULL),
(640015, 6400150, 0, 0, 0, 0, 0, NULL),
(640016, 6400160, 0, 0, 0, 0, 0, NULL),
(640017, 6400170, 0, 0, 0, 0, 0, NULL),
(640018, 6400180, 0, 0, 0, 0, 0, NULL),
(640019, 6400190, 0, 0, 0, 0, 0, NULL),
(640020, 6400200, 0, 0, 0, 0, 0, NULL),
(640021, 6400210, 0, 0, 0, 0, 0, NULL),
(640022, 6400220, 0, 0, 0, 0, 0, NULL),
(640102, 6401020, 0, 0, 0, 0, 0, NULL),
(640200, 6402000, 0, 0, 0, 0, 0, NULL),
(640203, 6402030, 0, 0, 0, 0, 0, NULL),
(640206, 6402060, 0, 0, 0, 0, 0, NULL);
--
(@CGUID+4, @WPID+40, 0, 0, 0, 0, 0, NULL),
(@CGUID+5, @WPID+50, 0, 0, 0, 0, 0, NULL),
(@CGUID+6, @WPID+60, 0, 0, 0, 0, 0, NULL),
(@CGUID+7, @WPID+70, 0, 0, 0, 0, 0, NULL),
(@CGUID+8, @WPID+80, 0, 0, 0, 0, 0, NULL),
(@CGUID+9, @WPID+90, 0, 0, 0, 0, 0, NULL),
(@CGUID+10, @WPID+100, 0, 0, 0, 0, 0, NULL),
(@CGUID+11, @WPID+110, 0, 0, 0, 0, 0, NULL),
(@CGUID+12, @WPID+120, 0, 0, 0, 0, 0, NULL),
(@CGUID+13, @WPID+130, 0, 0, 0, 0, 0, NULL),
(@CGUID+14, @WPID+140, 0, 0, 0, 0, 0, NULL),
(@CGUID+15, @WPID+150, 0, 0, 0, 0, 0, NULL),
(@CGUID+16, @WPID+160, 0, 0, 0, 0, 0, NULL),
(@CGUID+17, @WPID+170, 0, 0, 0, 0, 0, NULL),
(@CGUID+18, @WPID+180, 0, 0, 0, 0, 0, NULL),
(@CGUID+19, @WPID+190, 0, 0, 0, 0, 0, NULL),
(@CGUID+20, @WPID+200, 0, 0, 0, 0, 0, NULL),
(@CGUID+21, @WPID+210, 0, 0, 0, 0, 0, NULL),
(@CGUID+22, @WPID+220, 0, 0, 0, 0, 0, NULL),
(@CGUID+102, @WPID+1020, 0, 0, 0, 0, 0, NULL),
(@CGUID+200, @WPID+2000, 0, 0, 0, 0, 0, NULL),
(@CGUID+203, @WPID+2030, 0, 0, 0, 0, 0, NULL),
(@CGUID+206, @WPID+2060, 0, 0, 0, 0, 0, NULL);
DELETE FROM `waypoint_data` WHERE `id` IN (6400040, 6400050, 6400060, 6400070, 6400080, 6400090,
6400100, 6400110, 6400120, 6400130, 6400140, 6400150, 6400160, 6400170, 6400180, 6400190,
6400200, 6400210, 6400220, 6401020, 6402000, 6402030, 6402060);
DELETE FROM `waypoint_data` WHERE `id` IN
(@WPID+40, @WPID+50, @WPID+60, @WPID+70, @WPID+80, @WPID+90, @WPID+100, @WPID+110, @WPID+120, @WPID+130, @WPID+140, @WPID+150,
@WPID+160, @WPID+170, @WPID+180, @WPID+190, @WPID+200, @WPID+0210, @WPID+0220, @WPID+1020, @WPID+2000, @WPID+2030, @WPID+2060);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(6402000, 1, -11824.2, -3225.97, -30.3699, NULL, 0, 0, 0, 100, 0), -- Lord Marshal Raynor
(6402000, 2, -11839, -3211.73, -30.043, NULL, 0, 0, 0, 100, 0),
(6402030, 1, -11823.1, -3192.1, -30.7322, NULL, 0, 0, 0, 100, 0), -- Justinius the Harbinger
(6402030, 2, -11837.2, -3195.41, -29.8546, NULL, 0, 0, 0, 100, 0),
(6402060, 1, -11812.5, -3186.91, -30.6074, NULL, 0, 0, 0, 100, 0), -- Melgromm Highmountain
(6402060, 2, -11821.2, -3208.73, -29.7076, NULL, 0, 0, 0, 100, 0),
(6402060, 3, -11836, -3204.49, -30.2795, NULL, 0, 0, 0, 100, 0),
--
(6400040, 1, -11889.6, -3208.69, -14.963, NULL, 0, 0, 0, 100, 0), -- Invading Voidwalker
(6400040, 2, -11855.6, -3204.76, -26.665, NULL, 30000, 0, 0, 100, 0),
(6400050, 1, -11890.4, -3204.01, -14.7968, NULL, 0, 0, 0, 100, 0),
(6400050, 2, -11855.8, -3199.2, -26.909, NULL, 30000, 0, 0, 100, 0),
(@WPID+2000, 1, -11824.2, -3225.97, -30.3699, NULL, 0, 0, 0, 100, 0), -- Lord Marshal Raynor
(@WPID+2000, 2, -11839, -3211.73, -30.043, NULL, 0, 0, 0, 100, 0),
(@WPID+2030, 1, -11823.1, -3192.1, -30.7322, NULL, 0, 0, 0, 100, 0), -- Justinius the Harbinger
(@WPID+2030, 2, -11837.2, -3195.41, -29.8546, NULL, 0, 0, 0, 100, 0),
(@WPID+2060, 1, -11812.5, -3186.91, -30.6074, NULL, 0, 0, 0, 100, 0), -- Melgromm Highmountain
(@WPID+2060, 2, -11821.2, -3208.73, -29.7076, NULL, 0, 0, 0, 100, 0),
(@WPID+2060, 3, -11836, -3204.49, -30.2795, NULL, 0, 0, 0, 100, 0),
--
(6400060, 1, -11845.1, -3200.56, -29.3595, NULL, 0, 0, 0, 100, 0), -- Dreadknight, Melgromm
(6400070, 1, -11891.3, -3206.46, -14.8065, NULL, 0, 0, 0, 100, 0), -- Dreadknight, Raynor
(6400070, 2, -11850.2, -3201.36, -28.6679, NULL, 0, 0, 0, 100, 0),
(6400070, 3, -11843.8, -3206.54, -29.5158, NULL, 0, 0, 0, 100, 0),
(6400080, 1, -11889.9, -3206.58, -14.9646, NULL, 0, 0, 0, 100, 0), -- Dreadknight, Justinius
(6400080, 2, -11851.1, -3201.08, -28.5624, NULL, 0, 0, 0, 100, 0),
(6400080, 3, -11843.6, -3196.09, -29.3421, NULL, 0, 0, 0, 100, 0),
(6400090, 1, -11837.4, -3199.97, -29.9665, NULL, 30000, 0, 0, 100, 0), -- Felguard Lieutenant
(@WPID+40, 1, -11889.6, -3208.69, -14.963, NULL, 0, 0, 0, 100, 0), -- Invading Voidwalker
(@WPID+40, 2, -11855.6, -3204.76, -26.665, NULL, 30000, 0, 0, 100, 0),
(@WPID+50, 1, -11890.4, -3204.01, -14.7968, NULL, 0, 0, 0, 100, 0),
(@WPID+50, 2, -11855.8, -3199.2, -26.909, NULL, 30000, 0, 0, 100, 0),
--
(6400200, 1, -11889.4, -3210.32, -14.9459, NULL, 0, 0, 0, 100, 0), -- Invading Fel Stalker
(6400200, 2, -11845.4, -3204.67, -29.4112, NULL, 0, 1, 0, 100, 0),
(6400200, 3, -11832.9, -3215.73, -30.5512, NULL, 30000, 1, 0, 100, 0),
(6400210, 1, -11889, -3206.14, -15.0842, NULL, 0, 0, 0, 100, 0),
(6400210, 2, -11843.2, -3200.21, -29.5037, NULL, 0, 1, 0, 100, 0),
(6400210, 3, -11826.9, -3207.13, -30.0613, NULL, 30000, 1, 0, 100, 0),
(6400220, 1, -11890.1, -3202.46, -14.781, NULL, 0, 0, 0, 100, 0),
(6400220, 2, -11841.1, -3195.8, -29.4767, NULL, 0, 1, 0, 100, 0),
(6400220, 3, -11833.8, -3179.55, -30.1652, NULL, 30000, 1, 0, 100, 0),
(@WPID+60, 1, -11845.1, -3200.56, -29.3595, NULL, 0, 0, 0, 100, 0), -- Dreadknight, Melgromm
(@WPID+70, 1, -11891.3, -3206.46, -14.8065, NULL, 0, 0, 0, 100, 0), -- Dreadknight, Raynor
(@WPID+70, 2, -11850.2, -3201.36, -28.6679, NULL, 0, 0, 0, 100, 0),
(@WPID+70, 3, -11843.8, -3206.54, -29.5158, NULL, 0, 0, 0, 100, 0),
(@WPID+80, 1, -11889.9, -3206.58, -14.9646, NULL, 0, 0, 0, 100, 0), -- Dreadknight, Justinius
(@WPID+80, 2, -11851.1, -3201.08, -28.5624, NULL, 0, 0, 0, 100, 0),
(@WPID+80, 3, -11843.6, -3196.09, -29.3421, NULL, 0, 0, 0, 100, 0),
(@WPID+90, 1, -11837.4, -3199.97, -29.9665, NULL, 30000, 0, 0, 100, 0), -- Felguard Lieutenant
--
(6401020, 1, -11818.4, -3210.99, -30.1687, NULL, 0, 1, 0, 100, 0), -- Argent Protector
(6401020, 2, -11846.5, -3200.56, -29.201, NULL, 30000, 1, 0, 100, 0),
(@WPID+200, 1, -11889.4, -3210.32, -14.9459, NULL, 0, 0, 0, 100, 0), -- Invading Fel Stalker
(@WPID+200, 2, -11845.4, -3204.67, -29.4112, NULL, 0, 1, 0, 100, 0),
(@WPID+200, 3, -11832.9, -3215.73, -30.5512, NULL, 30000, 1, 0, 100, 0),
(@WPID+210, 1, -11889, -3206.14, -15.0842, NULL, 0, 0, 0, 100, 0),
(@WPID+210, 2, -11843.2, -3200.21, -29.5037, NULL, 0, 1, 0, 100, 0),
(@WPID+210, 3, -11826.9, -3207.13, -30.0613, NULL, 30000, 1, 0, 100, 0),
(@WPID+220, 1, -11890.1, -3202.46, -14.781, NULL, 0, 0, 0, 100, 0),
(@WPID+220, 2, -11841.1, -3195.8, -29.4767, NULL, 0, 1, 0, 100, 0),
(@WPID+220, 3, -11833.8, -3179.55, -30.1652, NULL, 30000, 1, 0, 100, 0),
--
(6400100, 1, -11893.4, -3204.94, -14.6618, NULL, 0, 0, 0, 100, 0), -- Invading Felguard
(6400100, 2, -11850, -3200.02, -28.7504, NULL, 0, 1, 0, 100, 0),
(6400100, 3, -11837.2, -3192.87, -29.8202, NULL, 30000, 1, 0, 100, 0),
(6400110, 1, -11892.3, -3208.3, -14.7235, NULL, 0, 0, 0, 100, 0),
(6400110, 2, -11847.9, -3202.94, -29.0108, NULL, 0, 1, 0, 100, 0),
(6400110, 3, -11834.2, -3205.21, -30.4318, NULL, 30000, 1, 0, 100, 0),
(6400120, 1, -11888.2, -3210.41, -15.0273, NULL, 0, 1, 0, 100, 0),
(6400120, 2, -11846.8, -3206.71, -29.0062, NULL, 30000, 1, 0, 100, 0),
(6400130, 1, -11889.1, -3202.02, -14.8334, NULL, 0, 1, 0, 100, 0),
(6400130, 2, -11847.9, -3196.42, -28.9539, NULL, 30000, 1, 0, 100, 0),
(6400140, 1, -11889.6, -3206.22, -14.994, NULL, 0, 1, 0, 100, 0),
(6400140, 2, -11842.7, -3200.9, -29.5849, NULL, 30000, 1, 0, 100, 0),
(6400150, 1, -11848, -3206.28, -28.8014, NULL, 0, 1, 0, 100, 0),
(6400150, 2, -11837.3, -3213.55, -30.1827, NULL, 30000, 1, 0, 100, 0),
(6400160, 1, -11849.9, -3196.86, -28.6516, NULL, 0, 1, 0, 100, 0),
(6400160, 2, -11837.5, -3191.1, -29.7639, NULL, 30000, 1, 0, 100, 0),
(6400170, 1, -11850.5, -3201.05, -28.6364, NULL, 0, 1, 0, 100, 0),
(6400170, 2, -11834.5, -3199.66, -30.1119, NULL, 30000, 1, 0, 100, 0),
(6400180, 1, -11893, -3202.07, -14.6551, NULL, 0, 0, 0, 100, 0),
(6400180, 2, -11849.6, -3196.98, -28.7049, NULL, 0, 1, 0, 100, 0),
(6400180, 3, -11852.3, -3184.09, -28.1065, NULL, 30000, 1, 0, 100, 0),
(6400190, 1, -11891.9, -3211.69, -14.6478, NULL, 0, 0, 0, 100, 0),
(6400190, 2, -11847.1, -3205.97, -28.9958, NULL, 0, 1, 0, 100, 0),
(6400190, 3, -11842.5, -3223.27, -28.9624, NULL, 30000, 1, 0, 100, 0);
(@WPID+1020, 1, -11818.4, -3210.99, -30.1687, NULL, 0, 1, 0, 100, 0), -- Argent Protector
(@WPID+1020, 2, -11846.5, -3200.56, -29.201, NULL, 30000, 1, 0, 100, 0),
--
(@WPID+100, 1, -11893.4, -3204.94, -14.6618, NULL, 0, 0, 0, 100, 0), -- Invading Felguard
(@WPID+100, 2, -11850, -3200.02, -28.7504, NULL, 0, 1, 0, 100, 0),
(@WPID+100, 3, -11837.2, -3192.87, -29.8202, NULL, 30000, 1, 0, 100, 0),
(@WPID+110, 1, -11892.3, -3208.3, -14.7235, NULL, 0, 0, 0, 100, 0),
(@WPID+110, 2, -11847.9, -3202.94, -29.0108, NULL, 0, 1, 0, 100, 0),
(@WPID+110, 3, -11834.2, -3205.21, -30.4318, NULL, 30000, 1, 0, 100, 0),
(@WPID+120, 1, -11888.2, -3210.41, -15.0273, NULL, 0, 1, 0, 100, 0),
(@WPID+120, 2, -11846.8, -3206.71, -29.0062, NULL, 30000, 1, 0, 100, 0),
(@WPID+130, 1, -11889.1, -3202.02, -14.8334, NULL, 0, 1, 0, 100, 0),
(@WPID+130, 2, -11847.9, -3196.42, -28.9539, NULL, 30000, 1, 0, 100, 0),
(@WPID+140, 1, -11889.6, -3206.22, -14.994, NULL, 0, 1, 0, 100, 0),
(@WPID+140, 2, -11842.7, -3200.9, -29.5849, NULL, 30000, 1, 0, 100, 0),
(@WPID+150, 1, -11848, -3206.28, -28.8014, NULL, 0, 1, 0, 100, 0),
(@WPID+150, 2, -11837.3, -3213.55, -30.1827, NULL, 30000, 1, 0, 100, 0),
(@WPID+160, 1, -11849.9, -3196.86, -28.6516, NULL, 0, 1, 0, 100, 0),
(@WPID+160, 2, -11837.5, -3191.1, -29.7639, NULL, 30000, 1, 0, 100, 0),
(@WPID+170, 1, -11850.5, -3201.05, -28.6364, NULL, 0, 1, 0, 100, 0),
(@WPID+170, 2, -11834.5, -3199.66, -30.1119, NULL, 30000, 1, 0, 100, 0),
(@WPID+180, 1, -11893, -3202.07, -14.6551, NULL, 0, 0, 0, 100, 0),
(@WPID+180, 2, -11849.6, -3196.98, -28.7049, NULL, 0, 1, 0, 100, 0),
(@WPID+180, 3, -11852.3, -3184.09, -28.1065, NULL, 30000, 1, 0, 100, 0),
(@WPID+190, 1, -11891.9, -3211.69, -14.6478, NULL, 0, 0, 0, 100, 0),
(@WPID+190, 2, -11847.1, -3205.97, -28.9958, NULL, 0, 1, 0, 100, 0),
(@WPID+190, 3, -11842.5, -3223.27, -28.9624, NULL, 30000, 1, 0, 100, 0);
/* Outland map outside Dark Portal */
UPDATE `gameobject` SET `ScriptName` = 'gobject_ipp_tbc' WHERE `guid` = 42457;