Skip to content

Commit

Permalink
[4831] Sholazar Basin - more fixes
Browse files Browse the repository at this point in the history
-- Mangal Crocolisk 28002
-- Emperor Cobra 28011
-- Servant of Freya 29036
-- Venomtip 28358
-- Stranded Thresher 28010
-- Flying Machine 24653
  • Loading branch information
Grz3s committed Jul 8, 2023
1 parent 3d1257d commit 62b1248
Showing 1 changed file with 129 additions and 0 deletions.
129 changes: 129 additions & 0 deletions Updates/4831_fewMore_SholazarBasin_pt2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
-- Sholazar Basin
-- Mangal Crocolisk 28002
-- Emperor Cobra 28011
-- Servant of Freya 29036
-- Venomtip 28358
-- Stranded Thresher 28010
-- Flying Machine 24653

-- Mangal Crocolisk 28002
-- missing added
DELETE FROM creature_addon WHERE guid IN (521118,521128,521127,521138,521139,521393);
DELETE FROM creature_movement WHERE Id IN (521118,521128,521127,521138,521139,521393);
DELETE FROM game_event_creature WHERE guid IN (521118,521128,521127,521138,521139,521393);
DELETE FROM game_event_creature_data WHERE guid IN (521118,521128,521127,521138,521139,521393);
DELETE FROM creature_battleground WHERE guid IN (521118,521128,521127,521138,521139,521393);
DELETE FROM creature_linking WHERE guid IN (521118,521128,521127,521138,521139,521393)
OR master_guid IN (521118,521128,521127,521138,521139,521393);
DELETE FROM creature WHERE guid IN (521118,521128,521127,521138,521139,521393);
INSERT INTO creature (guid, id, map, spawnmask, phasemask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(521118,28002,571,1,1,5360.82,5021.1,-139.743,1.8751,300,300,10,1),
(521127,28002,571,1,1,5674.83,4849.18,-136.221,6.12018,300,300,10,1),
(521128,28002,571,1,1,5717.55,4916.16,-135.674,4.01139,300,300,10,1),
(521138,28002,571,1,1,5710.5,4844.84,-135.096,2.31886 ,300,300,10,1),
(521139,1,571,1,1,5747.75,4896.46,-133.366,5.57826 ,300,300,10,1),
(521393,28002,571,1,1,5760.55,4830.36,-134.026,5.91989,300,300,10,1);

-- Emperor Cobra 28011
-- missing added
DELETE FROM creature_addon WHERE guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
DELETE FROM creature_movement WHERE Id IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
DELETE FROM game_event_creature WHERE guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
DELETE FROM game_event_creature_data WHERE guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
DELETE FROM creature_battleground WHERE guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
DELETE FROM creature_linking WHERE guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434)
OR master_guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
DELETE FROM creature WHERE guid IN (521396,521399,521400,521401,521402,521403,521404,521405,521409,521413,521414,521415,521416,521417,521420,521421,521423,521428,521430,521432,521433,521434);
INSERT INTO creature (guid, id, map, spawnmask, phasemask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(521396,28011,571,1,1,5439.87,5059.75,-132.829,3.40663,300,300,10,1),
(521399,28011,571,1,1,5457.6,5002.81,-131.179,6.10839,300,300,10,1),
(521400,28011,571,1,1,5643.09,4866.78,-136.391,4.26271,300,300,10,1),
(521401,28011,571,1,1,5731.67,4635.33,-137.228,3.1018,300,300,10,1),
(521402,28011,571,1,1,5378.83,5107.18,-134.654,3.1018,300,300,10,1),
(521403,28011,571,1,1,5612.5,4858.62,-136.485,3.10184,300,300,10,1),
(521404,28011,571,1,1,5704.66,4921.11,-135.673,3.1018,300,300,10,1),
(521405,28011,571,1,1,5769.91,4936.22,-132.857,6.1923,300,300,10,1),
(521409,28011,571,1,1,5721.64,4746.59,-134.59,6.19237,300,300,10,1),
(521413,28011,571,1,1,5750.05,4700.28,-135.036,3.1528,300,300,10,1),
(521414,28011,571,1,1,5828.66,4616.77,-133.556,6.0588,300,300,10,1),
(521415,28011,571,1,1,5871.14,4670.91,-131.789,6.0588,300,300,10,1),
(521416,28011,571,1,1,5784.25,5072.26,-135.296,6.0588,300,300,10,1),
(521417,28011,571,1,1,5730.26,5100.93,-133.87,3.23534,300,300,10,1),
(521420,28011,571,1,1,5527.85,5348.49,-134.462,3.1057,300,300,10,1),
(521421,28011,571,1,1,5489,5330.42,-134.022,4.52731, 300,300,10,1),
(521423,28011,571,1,1,5377.26,5342.38,-135.021,4.0620,300,300,10,1),
(521428,28011,571,1,1,5398.19,5289.13,-131.228,0.7225,300,300,10,1),
(521430,28011,571,1,1,5376.96,5238.79,-132.537,3.1180,300,300,10,1),
(521432,28011,571,1,1,5294.05,5176.45,-129.862,6.0907,300,300,10,1),
(521433,28011,571,1,1,5416.27,5187.17,-134.097,6.0907,300,300,10,1),
(521434,28011,571,1,1,5374.74,5168.64,-135.72,2.07345,300,300,10,1);
UPDATE creature SET spawndist = 10, MovementType = 1 WHERE id = 28011;

-- Servant of Freya 29036
-- missing added
DELETE FROM creature_addon WHERE guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
DELETE FROM creature_movement WHERE Id IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
DELETE FROM game_event_creature WHERE guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
DELETE FROM game_event_creature_data WHERE guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
DELETE FROM creature_battleground WHERE guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
DELETE FROM creature_linking WHERE guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496)
OR master_guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
DELETE FROM creature WHERE guid IN (523134,523135,523139,535477,535478,535479,535480,535481,535482,535483,535484,535485,535486,535487,535488,535489,535490,535491,535492,535493,535494,535495,535496);
INSERT INTO creature (guid, id, map, spawnmask, phasemask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(523134,29036,571,1,1,5758.39,4894.13,-132.895,4.0584,300,300,10,1),
(523135,29036,571,1,1,5585.98,4695.57,-133.944,1.9575,300,300,10,1),
(523139,29036,571,1,1,5756.76,4519.02,-132.839,3.3374,300,300,10,1),
(535477,29036,571,1,1,5493.5,4651.59,-132.037,3.33748,300,300,10,1),
(535478,29036,571,1,1,5303.69,4980.64,-135.001,3.3374,300,300,10,1),
(535479,29036,571,1,1,5333.85,5051.01,-137.247,3.3374,300,300,10,1),
(535480,29036,571,1,1,5756.13,4654.8,-133.589,3.33748,300,300,10,1),
(535481,29036,571,1,1,5836.53,4771.16,-132.646,3.3374,300,300,10,1),
(535482,29036,571,1,1,5852.18,4664.35,-129.832,3.3374,300,300,10,1),
(535483,29036,571,1,1,5665.15,4990.8,-134.474,3.32412,300,300,10,1),
(535484,29036,571,1,1,5590.47,5136.77,-131.571,3.3241,300,300,10,1),
(535485,29036,571,1,1,5600.39,5243.78,-134.865,1.3920,300,300,10,1),
(535486,29036,571,1,1,5546.27,5333.83,-136.11,4.05847,300,300,10,1),
(535487,29036,571,1,1,5361.65,5299.33,-134.439,1.663 ,300,300,10,1),
(535488,29036,571,1,1,5362.59,5109.32,-135.654,5.7313,300,300,10,1),
(535489,29036,571,1,1,5584.35,5378.35,-137.425,1.2977,300,300,10,1),
(535490,29036,571,1,1,5384.04,5144.61,-131.308,5.7588,300,300,10,1),
(535491,29036,571,1,1,5123.67,5118.38,-136.575,3.8581,300,300,10,1),
(535492,29036,571,1,1,5107.56,4896.41,-131.14,3.05315,300,300,10,1),
(535493,29036,571,1,1,5261.59,4986.67,-134.161,4.4590,300,300,10,1),
(535494,29036,571,1,1,5414.87,5080.18,-135.381,2.9785,300,300,10,1),
(535495,29036,571,1,1,5573.91,5023.08,-135.791,2.9785,300,300,10,1),
(535496,29036,571,1,1,5815.16,5042.75,-135.848,6.0926,300,300,10,1);
UPDATE creature SET spawndist = 10, MovementType = 1 WHERE id = 29036;

-- Venomtip 28358
UPDATE creature SET position_x = 5732, position_y = 4386.203, position_z = -136.1716, spawndist = 0, MovementType = 2 WHERE guid = 522286;
UPDATE creature_template SET MovementType = 2 WHERE entry = 28358;
DELETE FROM creature_movement_template WHERE entry = 28358;
INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES
(28358,1,5732,4386.203,-136.1716,100,4000,0),
(28358,2,5725.607,4370.464,-138.4216,100,0,0),
(28358,3,5705.899,4371.18,-139.1716,100,0,0),
(28358,4,5704.283,4394.416,-144.0466,100,0,0),
(28358,5,5725.339,4404.291,-156.0479,100,0,0),
(28358,6,5750.613,4405.569,-154.8253,100,0,0),
(28358,7,5760.469,4425.643,-142.5753,100,0,0),
(28358,8,5770.54,4449.451,-136.1532,100,0,0),
(28358,9,5772.089,4461.738,-133.7782,100,0,0),
(28358,10,5785.2085,4465.8716,-131.99055,100,0,0),
(28358,11,5787.121,4455.432,-132.5282,100,0,0),
(28358,12,5778.021,4449.356,-134.6532,100,0,0),
(28358,13,5772.104,4433.733,-138.7782,100,0,0),
(28358,14,5769.616,4419.951,-143.4691,100,0,0),
(28358,15,5750.613,4405.569,-154.8253,100,0,0),
(28358,16,5717.541,4401.594,-153.6686,100,0,0),
(28358,17,5703.686,4394.491,-143.9216,100,0,0),
(28358,18,5706.067,4386.728,-142.7966,100,0,0),
(28358,19,5710.782,4374.022,-139.5466,100,0,0),
(28358,20,5725.607,4370.464,-138.4216,100,0,0);

-- Stranded Thresher 28010
UPDATE creature_template_addon SET auras = 54913 WHERE entry = 28010;
UPDATE creature SET position_x = 5389.334961, position_y = 3796.615967, position_z = -76.809868 WHERE guid = 520100;

-- Flying Machine 24653
UPDATE creature SET spawndist = 0, MovementType = 0 WHERE id = 24653;

0 comments on commit 62b1248

Please sign in to comment.