Skip to content

Commit

Permalink
[4913] Primordial Drake Egg 28408
Browse files Browse the repository at this point in the history
moved to new file - console errors fixed
  • Loading branch information
Grz3s committed Sep 15, 2023
1 parent 6388bea commit e50753e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 46 deletions.
46 changes: 0 additions & 46 deletions Updates/4808_SavageThicket_SholazarBasin.sql
Original file line number Diff line number Diff line change
Expand Up @@ -110,49 +110,3 @@ DELETE FROM spell_script_target WHERE entry IN (52791,52793);
INSERT INTO spell_script_target (entry, `type`, targetEntry, inverseEffectMask) VALUES
(52791, 1, 28408, 0),
(52793, 1, 28408, 0);

-- Primordial Drake Egg 28408
-- missing added - deleted guids reused
DELETE FROM creature_addon WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM creature_movement WHERE Id BETWEEN 522545 AND 522547;
DELETE FROM game_event_creature WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM game_event_creature_data WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM creature_battleground WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM creature_linking WHERE guid BETWEEN 522545 AND 522547
OR master_guid BETWEEN 522545 AND 522547;
DELETE FROM creature WHERE guid BETWEEN 522545 AND 522547;
-- new guids
DELETE FROM creature_addon WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature_movement WHERE Id IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM game_event_creature WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM game_event_creature_data WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature_battleground WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature_linking WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013)
OR master_guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
INSERT INTO creature (guid, id, map, spawnmask, phasemask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(522545,28408,571,1,1,6572.068,4965.241,-43.356026,0.820304751396179199,300,300,0,0),
(522546,28408,571,1,1,6538.916,4932.02,-55.13996,5.899212837219238281,300,300,0,0),
(522547,28408,571,1,1,6602.7847,4921.3853,-39.037964,0.279252678155899047,300,300,0,0),
(500561,28408,571,1,1,6453.057,4913.3213,-62.819847,4.223696708679199218,300,300,0,0),
(500562,28408,571,1,1,6466.337,4872.163,-62.598118,3.700098037719726562,300,300,0,0),
(500563,28408,571,1,1,6607.6113,4917.686,-37.957916,4.886921882629394531,300,300,0,0),
(500564,28408,571,1,1,6407.768,4856.435,-71.97785,2.914699792861938476,300,300,0,0),
(500565,28408,571,1,1,6604.9126,4823.474,-35.931175,5.899212837219238281,300,300,0,0),
(500566,28408,571,1,1,6537.5835,4943.4824,-54.52259,5.06145477294921875,300,300,0,0),
(500569,28408,571,1,1,6405.898,4828.1406,-75.08952,3.124139308929443359,300,300,0,0),
(500570,28408,571,1,1,6410.6655,4831.655,-73.73478,2.879793167114257812,300,300,0,0),
(501012,28408,571,1,1,6374.364,4891.941,-78.84173,4.86946868896484375,300,300,0,0),
(501013,28408,571,1,1,6407.731,4959.9116,-71.005554,1.221730470657348632,300,300,0,0);
DELETE FROM `spawn_group` WHERE id = 32503;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(32503, 'Sholazar Basin - Primordial Drake Egg 28408', 0, 15, 0, 0); -- 15max
DELETE FROM `spawn_group_spawn` WHERE id = 32503;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(32503,522545,-1),(32503,522546,-1),(32503,522547,-1),(32503,500561,-1),
(32503,500562,-1),(32503,500563,-1),(32503,500564,-1),(32503,500565,-1),
(32503,500566,-1),(32503,500569,-1),(32503,500570,-1),(32503,501012,-1),
(32503,501013,-1),(32503,522704,-1),(32503,522705,-1),(32503,522706,-1),
(32503,522707,-1),(32503,522708,-1),(32503,522709,-1),(32503,522710,-1),
(32503,522711,-1),(32503,522712,-1),(32503,522713,-1),(32503,522714,-1),
(32503,522715,-1),(32503,522716,-1);
45 changes: 45 additions & 0 deletions Updates/4913_c.28408.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
-- Primordial Drake Egg 28408
-- missing added - deleted guids reused
DELETE FROM creature_addon WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM creature_movement WHERE Id BETWEEN 522545 AND 522547;
DELETE FROM game_event_creature WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM game_event_creature_data WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM creature_battleground WHERE guid BETWEEN 522545 AND 522547;
DELETE FROM creature_linking WHERE guid BETWEEN 522545 AND 522547
OR master_guid BETWEEN 522545 AND 522547;
DELETE FROM creature WHERE guid BETWEEN 522545 AND 522547;
-- new guids
DELETE FROM creature_addon WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature_movement WHERE Id IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM game_event_creature WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM game_event_creature_data WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature_battleground WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature_linking WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013)
OR master_guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
DELETE FROM creature WHERE guid IN (500561,500562,500563,500564,500565,500566,500569,500570,501012,501013);
INSERT INTO creature (guid, id, map, spawnmask, phasemask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(522545,28408,571,1,1,6572.068,4965.241,-43.356026,0.820304751396179199,300,300,0,0),
(522546,28408,571,1,1,6538.916,4932.02,-55.13996,5.899212837219238281,300,300,0,0),
(522547,28408,571,1,1,6602.7847,4921.3853,-39.037964,0.279252678155899047,300,300,0,0),
(500561,28408,571,1,1,6453.057,4913.3213,-62.819847,4.223696708679199218,300,300,0,0),
(500562,28408,571,1,1,6466.337,4872.163,-62.598118,3.700098037719726562,300,300,0,0),
(500563,28408,571,1,1,6607.6113,4917.686,-37.957916,4.886921882629394531,300,300,0,0),
(500564,28408,571,1,1,6407.768,4856.435,-71.97785,2.914699792861938476,300,300,0,0),
(500565,28408,571,1,1,6604.9126,4823.474,-35.931175,5.899212837219238281,300,300,0,0),
(500566,28408,571,1,1,6537.5835,4943.4824,-54.52259,5.06145477294921875,300,300,0,0),
(500569,28408,571,1,1,6405.898,4828.1406,-75.08952,3.124139308929443359,300,300,0,0),
(500570,28408,571,1,1,6410.6655,4831.655,-73.73478,2.879793167114257812,300,300,0,0),
(501012,28408,571,1,1,6374.364,4891.941,-78.84173,4.86946868896484375,300,300,0,0),
(501013,28408,571,1,1,6407.731,4959.9116,-71.005554,1.221730470657348632,300,300,0,0);
DELETE FROM `spawn_group` WHERE id = 32503;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(32503, 'Sholazar Basin - Primordial Drake Egg 28408', 0, 15, 0, 0); -- 15max
DELETE FROM `spawn_group_spawn` WHERE id = 32503;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(32503,522545,-1),(32503,522546,-1),(32503,522547,-1),(32503,500561,-1),
(32503,500562,-1),(32503,500563,-1),(32503,500564,-1),(32503,500565,-1),
(32503,500566,-1),(32503,500569,-1),(32503,500570,-1),(32503,501012,-1),
(32503,501013,-1),(32503,522704,-1),(32503,522705,-1),(32503,522706,-1),
(32503,522707,-1),(32503,522708,-1),(32503,522709,-1),(32503,522710,-1),
(32503,522711,-1),(32503,522712,-1),(32503,522713,-1),(32503,522714,-1),
(32503,522715,-1),(32503,522716,-1);

0 comments on commit e50753e

Please sign in to comment.