Skip to content

Commit

Permalink
[5204] Update for Rares in Grizzly Hills
Browse files Browse the repository at this point in the history
Syreian the Bonecarver 32438
Seething Hate 32429
Grocklar 32422

+ fix for [5203]
  • Loading branch information
Grz3s committed Nov 26, 2023
1 parent 071f927 commit 392aefa
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Updates/5203_RARES_HowlingFjord.sql
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
-- Perobas the Bloodthirster 32377
DELETE FROM pool_creature_template WHERE id = 32377;
DELETE FROM pool_template WHERE entry = 1081;
DELETE FROM `spawn_group` WHERE id = 31501;
DELETE FROM `spawn_group` WHERE id = 31502;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(31502, 'Perobas the Bloodthirster 32377 - RARE', 0, 1, 0, 0);
(31502, 'Howling Fjord - Perobas the Bloodthirster 32377 - RARE', 0, 1, 0, 0);
DELETE FROM `spawn_group_spawn` WHERE id = 31502;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(31502, 532423, -1),
Expand Down
182 changes: 182 additions & 0 deletions Updates/5204_RARES_GrizzlyHills.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
-- Syreian the Bonecarver 32438
-- missing spawn added
DELETE FROM creature_addon WHERE guid IN (535521);
DELETE FROM creature_movement WHERE id IN (535521);
DELETE FROM game_event_creature WHERE guid IN (535521);
DELETE FROM game_event_creature_data WHERE guid IN (535521);
DELETE FROM creature_battleground WHERE guid IN (535521);
DELETE FROM creature_linking WHERE guid IN (535521);
DELETE FROM creature where guid IN (535521);
INSERT INTO creature (guid, id, map, spawnMask, phaseMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(535521,32438,571,1,1,-9638.779,-2525.4167,59.08689,3.814,28800,28800,0,4); -- linear
UPDATE creature SET position_x = 4480.4683, position_y = -4524.4497, position_z = 113.77871, movementtype = 4, spawndist = 0 WHERE guid = 532428; -- linear
DELETE FROM creature_movement WHERE id IN (532428,535521);
INSERT INTO creature_movement (`id`, `Point`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES
-- 532488 -- path corrected
(532488,1 ,4480.4683,-4524.4497,113.77871,100,1000,0),
(532488,2 ,4504.291,-4553.967,106.27746,100,0,0),
(532488,3 ,4522.304,-4559.3667,103.90382,100,0,0),
(532488,4 ,4526.428,-4579.6416,96.79167,100,0,0),
(532488,5 ,4518.134,-4614.164,89.97685,100,0,0),
(532488,6 ,4534.4775,-4641.6636,82.93421,100,0,0),
(532488,7 ,4541.957,-4662.633,76.63023,100,0,0),
(532488,8 ,4542.841,-4687.3022,69.720314,100,0,0),
(532488,9 ,4529.952,-4715.8486,62.613968,100,0,0),
(532488,10,4493.3306,-4728.277,61.504055,100,0,0),
(532488,11,4468.7817,-4723.6763,63.682343,100,0,0),
(532488,12,4429.881,-4715.6,66.412384,100,0,0),
(532488,13,4403.022,-4748.88,57.325615,100,0,0),
(532488,14,4368.517,-4781.515,49.883804,100,0,0),
(532488,15,4342.22,-4808.198,43.192207,100,0,0),
(532488,16,4313.798,-4838.641,38.94745,100,0,0),
(532488,17,4290.499,-4863.33,35.459824,100,0,0),
(532488,18,4260.0273,-4891.9014,35.349384,100,0,0),
(532488,19,4244.6675,-4922.415,31.306301,100,0,0),
(532488,20,4213.402,-4951.051,26.039848,100,0,0),
(532488,21,4189.088,-4983.862,19.095589,100,0,0),
(532488,22,4155.4307,-5013.6577,16.401487,100,0,0),
(532488,23,4162.9946,-5057.109,16.918236,100,0,0),
(532488,24,4184.0513,-5094.035,11.355041,100,0,0),
(532488,25,4193.2314,-5120.676,8.26369,100,1000,0),
-- 535521
(532488,1 ,4046.7712,-4625.1973,169.63557,100,1000,0),
(532488,2 ,4061.774,-4600.8843,174.27298,100,0,0),
(532488,3 ,4078.6846,-4596.2153,171.07608,100,0,0),
(532488,4 ,4084.7847,-4589.742,173.43777,100,0,0),
(532488,5 ,4113.4883,-4568.4463,179.10889,100,0,0),
(532488,6 ,4144.0625,-4574.379,165.35889,100,0,0),
(532488,7 ,4173.4385,-4567.84,163.8271,100,0,0),
(532488,8 ,4207.936,-4558.6045,156.41632,100,0,0),
(532488,9 ,4231.7246,-4573.369,145.66403,100,0,0),
(532488,10,4258.8843,-4587.2275,135.61244,100,0,0),
(532488,11,4280.168,-4589.8,132.502,100,0,0),
(532488,12,4320.133,-4570.2417,129.75232,100,0,0),
(532488,13,4341.297,-4558.415,128.31093 ,100,0,0),
(532488,14,4382.901,-4544.6743,121.58569,100,0,0),
(532488,15,4413.9536,-4539.2363,116.804825,100,0,0),
(532488,16,4444.715,-4520.533,115.49756 ,100,0,0),
(532488,17,4472.262,-4517.7495,116.58562,100,0,0),
(532488,18,4493.932,-4538.9497,109.5312 ,100,0,0),
(532488,19,4495.8086,-4570.0596,103.33954,100,0,0),
(532488,20,4510.6553,-4607.089,91.20952,100,0,0),
(532488,21,4544.242,-4667.043,75.659164,100,0,0),
(532488,22,4563.4673,-4703.2427,64.915726,100,0,0),
(532488,23,4591.366,-4727.913,59.231266,100,0,0),
(532488,24,4618.749,-4727.12,57.973747 ,100,0,0),
(532488,25,4650.0767,-4716.5845,58.798126,100,1000,0);
-- it may be 3rd spawn
-- Spawn Groups
DELETE FROM `spawn_group` WHERE id = 32000;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(32000, 'Grizzly Hills - Syreian the Bonecarver 32438 - RARE', 0, 1, 0, 0);
DELETE FROM `spawn_group_spawn` WHERE id = 32000;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(32000, 532488, -1),
(32000, 532488, -1);

-- Seething Hate 32429
DELETE FROM creature_addon WHERE guid IN(SELECT guid FROM creature WHERE id = 32429);
DELETE FROM creature_template_addon WHERE entry IN (32429);
INSERT INTO creature_template_addon (entry, mount, stand_state, sheath_state, pvp_flags, emote, moveflags, auras) VALUES
(32429,0,0,0,0,0,0,52561);
UPDATE creature SET position_x = 3797.5315, position_y = -3153.308, position_z = 280.07166, movementtype = 1, spawndist = 30 WHERE guid = 532484;
UPDATE creature SET position_x = 3785.4878, position_y = -3226.8374, position_z = 280.62946, movementtype = 1, spawndist = 30 WHERE guid = 532485;
UPDATE creature SET position_x = 3788.958, position_y = -2905.1477, position_z = 226.01582, movementtype = 1, spawndist = 30 WHERE guid = 532486;
DELETE FROM pool_creature_template WHERE id = 32429;
DELETE FROM pool_template WHERE entry = 1079;
-- Spawn Groups
DELETE FROM `spawn_group` WHERE id = 32001;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(32001, 'Grizzly Hills - Seething Hate 32429 - RARE', 0, 1, 0, 0);
DELETE FROM `spawn_group_spawn` WHERE id = 32001;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(32001, 532484, -1),
(32001, 532485, -1),
(32001, 532486, -1);
-- more spawns missing

-- Grocklar 32422
-- missing spawn added
DELETE FROM creature_addon WHERE guid IN (535522);
DELETE FROM creature_movement WHERE id IN (535522);
DELETE FROM game_event_creature WHERE guid IN (535522);
DELETE FROM game_event_creature_data WHERE guid IN (535522);
DELETE FROM creature_battleground WHERE guid IN (535522);
DELETE FROM creature_linking WHERE guid IN (535522);
DELETE FROM creature where guid IN (535522);
INSERT INTO creature (guid, id, map, spawnMask, phaseMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES
(535522,32422,571,1,1,-9638.779,-2303.328,41.390446,3.814,28800,28800,0,4); -- linear
UPDATE creature SET position_x = 2932.636, position_y = -4524.4497, position_z = 113.77871, movementtype = 4, spawndist = 0 WHERE guid = 532462; -- linear
UPDATE creature SET position_x = 3412.899, position_y = -2403.7913, position_z = 124.14179, movementtype = 4, spawndist = 0 WHERE guid = 532461; -- linear
DELETE FROM creature_movement WHERE id IN (532461,535522,532462);
INSERT INTO creature_movement (`id`, `Point`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES
(535522,1 ,3751.7332,-1906.4866,203.31546,100,5000,0),
(535522,2 ,3725.2773,-1895.7439,193.10106,100,0,0),
(535522,3 ,3691.3525,-1875.1295,179.05399,100,0,0),
(535522,4 ,3656.9653,-1875.1079,172.7042 ,100,0,0),
(535522,5 ,3643.7175,-1843.7594,168.89293,100,0,0),
(535522,6 ,3617.3005,-1827.6208,168.08742,100,0,0),
(535522,7 ,3591.5598,-1801.5856,160.75598,100,0,0),
(535522,8 ,3590.525,-1772.9707,161.73645 ,100,0,0),
(535522,9 ,3571.5264,-1744.1853,160.33002,100,0,0),
(535522,10,3542.722,-1746.199,157.76842,100,5000,0),
-- 532461
(532461,1 ,3412.899,-2403.7913,124.14179,100,5000,0),
(532461,2 ,3436.7598,-2429.045,125.717445,100,0,0),
(532461,3 ,3466.6716,-2426.9346,131.75998,100,0,0),
(532461,4 ,3495.8533,-2429.4712,133.66235,100,0,0),
(532461,5 ,3534.6301,-2435.302,139.67001 ,100,0,0),
(532461,6 ,3562.616,-2429.63,140.49597 ,100,0,0),
(532461,7 ,3578.5723,-2401.0222,140.2092 ,100,0,0),
(532461,8 ,3600.0273,-2376.6396,145.8375 ,100,0,0),
(532461,9 ,3559.8708,-2366.297,135.26164 ,100,0,0),
(532461,10,3517.7969,-2368.4229,131.54352,100,0,0),
(532461,11,3503.634,-2341.5999,125.583084,100,0,0),
(532461,12,3507.372,-2308.793,125.646164 ,100,0,0),
(532461,13,3509.3674,-2264.863,125.62836 ,100,0,0),
(532461,14,3514.2832,-2233.013,128.73685 ,100,0,0),
(532461,15,3540.7493,-2211.0405,131.37444,100,0,0),
(532461,16,3557.4531,-2171.937,135.81412,100,5000,0),
-- 532462
(532462,1 ,2932.636,-2303.328,41.390446,3.693,5000,0),
(532462,2 ,2950.536,-2287.7026,53.964024,100,0,0),
(532462,3 ,2970.836,-2286.4153,61.654274,100,0,0),
(532462,4 ,2985.297,-2275.3088,66.117805,100,0,0),
(532462,5 ,3010.2673,-2263.1416,74.58602,100,0,0),
(532462,6 ,3009.0698,-2226.7605,79.167725,100,0,0),
(532462,7 ,2992.1472,-2210.3977,74.89603,100,0,0),
(532462,8 ,2982.7197,-2180.8433,69.166695,100,0,0),
(532462,9 ,2981.302,-2151.6555,65.185196,100,0,0),
(532462,10,2987.6282,-2114.5928,66.52995,100,0,0),
(532462,11,2986.061,-2089.8604,70.64665 ,100,0,0),
(532462,12,2976.7434,-2074.0059,74.1231 ,100,0,0),
(532462,13,2984.6533,-2054.8452,79.22567,100,0,0),
(532462,14,3011.2405,-2056.9192,79.63762,100,0,0),
(532462,15,3035.1663,-2051.3628,83.67551,100,0,0),
(532462,16,3049.154,-2028.8055,81.45182 ,100,0,0),
(532462,17,3057.7043,-1988.8909,79.481 ,100,0,0),
(532462,18,3066.1362,-1968.1267,83.031975,100,0,0),
(532462,19,3088.882,-1951.1813,83.13072 ,100,0,0),
(532462,20,3066.115,-1927.8214,81.171165,100,0,0),
(532462,21,3066.8516,-1902.0773,80.38452,100,0,0),
(532462,22,3059.5742,-1870.2611,68.758354,100,0,0),
(532462,23,3056.1829,-1842.4907,65.40857,100,0,0),
(532462,24,3053.3467,-1818.6777,61.351448,100,0,0),
(532462,25,3053.3137,-1782.8103,50.14823,100,0,0),
(532462,26,3050.567,-1764.3307,48.1922 ,100,0,0),
(532462,27,3034.8118,-1729.9526,36.0357 ,100,0,0),
(532462,28,3030.2217,-1705.3926,31.25101,100,0,0),
(532462,29,3030.8162,-1675.764,24.040312,100,5000,0);
-- 532463 -- must be confirmed
-- Spawn Groups
DELETE FROM pool_creature_template WHERE id = 32422;
DELETE FROM pool_template WHERE entry = 1078;
DELETE FROM `spawn_group` WHERE id = 32002;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(32002, 'Grizzly Hills - Grocklar 32422 - RARE', 0, 1, 0, 0);
DELETE FROM `spawn_group_spawn` WHERE id = 32002;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(32002, 535522, -1),
(32002, 532461, -1),
(32002, 532463, -1),
(32002, 532464, -1);

0 comments on commit 392aefa

Please sign in to comment.