diff --git a/Updates/4615_hinterlands_ghost_mushroom.sql b/Updates/4615_hinterlands_ghost_mushroom.sql index ce28ad972..e5250f6c2 100644 --- a/Updates/4615_hinterlands_ghost_mushroom.sql +++ b/Updates/4615_hinterlands_ghost_mushroom.sql @@ -40,8 +40,8 @@ */ -- Ghost Mushroom -DELETE FROM `gameobject` WHERE (`guid` IN (16424, 16430, 16434, 16435, 16442, 16443, 35003, 46264, 46299, 46301, 46303, 46364, 46365, 46366, 63149, 64898, 64899, 86138, 86139, 86140, 87460)); -DELETE FROM `pool_gameobject` WHERE (`guid` IN (16424, 16430, 16434, 16435, 16442, 16443, 35003, 46264, 46299, 46301, 46303, 46364, 46365, 46366, 63149, 64898, 64899, 86138, 86139, 86140, 87460)); +DELETE FROM `gameobject` WHERE (`guid` IN (16424, 16430, 16434, 16435, 16442, 16443, 33858, 35003, 46264, 46299, 46301, 46303, 46364, 46365, 46366, 63149, 64898, 64899, 86138, 86139, 86140, 87460)); +DELETE FROM `pool_gameobject` WHERE (`guid` IN (16424, 16430, 16434, 16435, 16442, 16443, 33858, 35003, 46264, 46299, 46301, 46303, 46364, 46365, 46366, 63149, 64898, 64899, 86138, 86139, 86140, 87460)); DELETE FROM `pool_template` WHERE (`entry` IN (8407)); -- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- diff --git a/Updates/4616_loch_modan_tin_vein.sql b/Updates/4616_loch_modan_tin_vein.sql new file mode 100644 index 000000000..9991f15f7 --- /dev/null +++ b/Updates/4616_loch_modan_tin_vein.sql @@ -0,0 +1,366 @@ +/* +01 02 03 04 05 06 07 08 09 10 11 +02 05 10 11 12 13 14 15 16 17 18 +07 13 14 15 18 19 20 21 22 23 24 +01 10 17 25 26 27 28 29 30 31 32 +01 20 22 24 27 28 33 34 35 36 37 +03 07 10 12 21 38 39 40 41 42 43 +04 06 11 15 21 23 33 38 39 42 44 +08 12 21 22 35 37 38 39 43 45 46 +03 07 29 31 39 40 43 47 48 49 50 +11 18 19 26 30 34 41 50 51 52 53 +02 14 15 18 29 41 43 44 48 50 51 +05 11 13 22 23 37 38 39 48 54 55 +17 21 24 31 33 39 44 48 53 58 59 +07 09 20 22 23 39 43 45 54 56 57 +01 12 13 15 20 29 32 36 37 41 55 +06 11 15 20 23 31 35 39 45 56 57 +04 08 09 10 21 22 43 44 45 58 52 +02 14 21 23 24 30 37 41 45 53 57 +02 03 12 14 22 31 32 36 40 44 60 +02 04 18 23 25 34 39 40 43 49 55 +08 17 24 26 30 39 42 46 48 51 60 +05 09 11 12 13 14 16 40 41 46 58 +01 04 09 23 25 29 43 44 47 49 54 +09 10 22 24 39 44 47 48 51 54 56 +02 04 07 17 25 37 43 46 52 53 56 +01 04 08 22 24 34 36 37 44 47 51 +01 17 18 19 26 32 33 34 35 40 50 +02 03 10 12 18 40 43 44 49 52 56 +06 11 14 16 18 25 28 29 36 38 48 +03 08 10 11 14 18 19 35 38 49 56 +-- ----------------------------- +02 20 26 38 47 58 +03 13 25 33 45 51 +04 12 19 27 48 57 +05 21 29 34 56 60 +07 16 30 35 44 55 +08 15 28 40 53 54 +10 23 36 46 50 59 +06 17 22 41 49 +09 18 31 37 42 +01 14 39 52 +11 24 32 43 +*/ + +-- Tin Vein +DELETE FROM `gameobject` WHERE (`guid` IN (71455, 71458, 71461, 71464, 71467, 71470, 75601, 75604, 75607, 75610, 75613, 75616, 75619, 75622, 75625, 75628, 75631, 75634, 75637, 75640, 75643, 75646, 75649, 75652, 75655, 75658, 75661, 75664, 75667, 75670, 75673, +75676, 75679, 75682, 75685, 75688, 75691, 75694, 75697, 75700, 75703, 75706, 75709, 75712, 75718, 75721, 75724, 75727, 75730, 75733, 75736, 75739, 75745, 75748, 75751, 75754, 75757, 75760, 75763, 75766, 75769, 75772, 75775, 75778, 75781, 75784, 75787, 75790, 75793, +75796, 75799, 75802, 75805, 75808, 75811, 75814, 75817, 75820, 75823, 75826, 75829, 75832, 75835, 75838, 75841, 75844, 75847, 75850, 75853, 75856, 75859, 75862, 75865, 75868, 75871, 75877, 75880, 75883, 75886, 75889, 75892, 75895, 75898, 75901, 75904, 75907, 75910, +75913, 75916, 75919, 75922, 75925, 75928, 75931, 75934, 75937)); +DELETE FROM `pool_gameobject` WHERE (`guid` IN (71455, 71458, 71461, 71464, 71467, 71470, 75601, 75604, 75607, 75610, 75613, 75616, 75619, 75622, 75625, 75628, 75631, 75634, 75637, 75640, 75643, 75646, 75649, 75652, 75655, 75658, 75661, 75664, 75667, 75670, 75673, +75676, 75679, 75682, 75685, 75688, 75691, 75694, 75697, 75700, 75703, 75706, 75709, 75712, 75718, 75721, 75724, 75727, 75730, 75733, 75736, 75739, 75745, 75748, 75751, 75754, 75757, 75760, 75763, 75766, 75769, 75772, 75775, 75778, 75781, 75784, 75787, 75790, 75793, +75796, 75799, 75802, 75805, 75808, 75811, 75814, 75817, 75820, 75823, 75826, 75829, 75832, 75835, 75838, 75841, 75844, 75847, 75850, 75853, 75856, 75859, 75862, 75865, 75868, 75871, 75877, 75880, 75883, 75886, 75889, 75892, 75895, 75898, 75901, 75904, 75907, 75910, +75913, 75916, 75919, 75922, 75925, 75928, 75931, 75934, 75937)); + +-- Copper Vein +DELETE FROM `gameobject` WHERE (`guid` IN (75897, 75915, 75921, 75933, 75900, 75894, 75930, 71469, 75924, 75888, 75864, 75870, 75876, 75882, 75936, 75903, 75906, 75879, 75891, 75918, 75867, 75885, 71466)); +DELETE FROM `pool_gameobject` WHERE (`guid` IN (75897, 75915, 75921, 75933, 75900, 75894, 75930, 71469, 75924, 75888, 75864, 75870, 75876, 75882, 75936, 75903, 75906, 75879, 75891, 75918, 75867, 75885, 71466)); + +-- Silver Vein +DELETE FROM `gameobject` WHERE (`guid` IN (71456, 71459, 71462, 71465, 71468, 71471, 75602, 75605, 75608, 75611, 75614, 75617, 75620, 75623, 75626, 75629, 75632, 75635, 75638, 75641, 75644, 75647, 75650, 75653, 75656, 75659, 75662, 75665, 75668, 75671, 75674, +75677, 75680, 75683, 75686, 75689, 75692, 75695, 75698, 75701, 75704, 75707, 75710, 75713, 75719, 75722, 75725, 75728, 75731, 75734, 75737, 75740, 75746, 75749, 75752, 75755, 75758, 75761, 75764, 75767, 75770, 75773, 75776, 75779, 75782, 75785, 75788, 75791, 75794, +75797, 75800, 75803, 75806, 75809, 75812, 75815, 75818, 75821, 75824, 75827, 75830, 75833, 75836, 75839, 75842, 75845, 75848, 75851, 75854, 75857, 75860, 75863, 75866, 75869, 75872, 75878, 75881, 75884, 75887, 75890, 75893, 75896, 75899, 75902, 75905, 75908, 75911, +75914, 75917, 75920, 75923, 75926, 75929, 75932, 75935, 75938)); +DELETE FROM `pool_gameobject` WHERE (`guid` IN (71456, 71459, 71462, 71465, 71468, 71471, 75602, 75605, 75608, 75611, 75614, 75617, 75620, 75623, 75626, 75629, 75632, 75635, 75638, 75641, 75644, 75647, 75650, 75653, 75656, 75659, 75662, 75665, 75668, 75671, 75674, +75677, 75680, 75683, 75686, 75689, 75692, 75695, 75698, 75701, 75704, 75707, 75710, 75713, 75719, 75722, 75725, 75728, 75731, 75734, 75737, 75740, 75746, 75749, 75752, 75755, 75758, 75761, 75764, 75767, 75770, 75773, 75776, 75779, 75782, 75785, 75788, 75791, 75794, +75797, 75800, 75803, 75806, 75809, 75812, 75815, 75818, 75821, 75824, 75827, 75830, 75833, 75836, 75839, 75842, 75845, 75848, 75851, 75854, 75857, 75860, 75863, 75866, 75869, 75872, 75878, 75881, 75884, 75887, 75890, 75893, 75896, 75899, 75902, 75905, 75908, 75911, +75914, 75917, 75920, 75923, 75926, 75929, 75932, 75935, 75938)); + +DELETE FROM `pool_template` WHERE (`entry` IN (4368, 4374, 4379, 4383, 4384, 4385, 4386, 4387, 4388, 4396, 4401, 4402, 4404, 4408, 4413, 4443, 4463, 4482, 4483, 4487, 4488, 4495)); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142360; +SET @SGUID := 437; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -4806.09033203125, -4137.70556640625, 306.06689453125, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 300, 600), +(@OGUID + 01, 0, 0, 1, -4787.6962890625, -4173.91162109375, 305.719207763671875, 5.70722818374633789, 0, 0, -0.28401470184326171, 0.958819925785064697, 300, 600), +(@OGUID + 02, 0, 0, 1, -4791.37548828125, -4110.3271484375, 307.63861083984375, 3.473210096359252929, 0, 0, -0.98628520965576171, 0.165049895644187927, 300, 600), +(@OGUID + 03, 0, 0, 1, -4828.55078125, -4099.7080078125, 306.208404541015625, 1.832594871520996093, 0, 0, 0.793353080749511718, 0.608761727809906005, 300, 600), +(@OGUID + 04, 0, 0, 1, -4860.9921875, -4050.5283203125, 317.46038818359375, 3.22885894775390625, 0, 0, -0.99904823303222656, 0.043619260191917419, 300, 600), +(@OGUID + 05, 0, 0, 1, -4739.298828125, -4114.3662109375, 311.8372802734375, 5.026549339294433593, 0, 0, -0.5877847671508789, 0.809017360210418701, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 000', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142370; +SET @SGUID := 438; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -4954.1376953125, -4064.987060546875, 300.585601806640625, 3.595378875732421875, 0, 0, -0.97437000274658203, 0.224951311945915222, 300, 600), +(@OGUID + 01, 0, 0, 1, -4827.74755859375, -3883.1640625, 302.775390625, 2.373644113540649414, 0, 0, 0.927183151245117187, 0.37460830807685852, 300, 600), +(@OGUID + 02, 0, 0, 1, -4867.189453125, -3913.9296875, 303.010162353515625, 2.932138919830322265, 0, 0, 0.994521141052246093, 0.104535527527332305, 300, 600), +(@OGUID + 03, 0, 0, 1, -4939.38037109375, -4077.810302734375, 302.5423583984375, 6.161012649536132812, 0, 0, -0.06104850769042968, 0.998134791851043701, 300, 600), +(@OGUID + 04, 0, 0, 1, -4958.92529296875, -4036.66748046875, 302.923492431640625, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 300, 600), +(@OGUID + 05, 0, 0, 1, -4869.755859375, -3883.53466796875, 304.3072509765625, 0.418878614902496337, 0, 0, 0.207911491394042968, 0.978147625923156738, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 001', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142380; +SET @SGUID := 439; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -5077.93798828125, -3892.09716796875, 328.06976318359375, 5.480334281921386718, 0, 0, -0.39073085784912109, 0.920504987239837646, 300, 600), +(@OGUID + 01, 0, 0, 1, -4773.33203125, -3700.73046875, 314.729400634765625, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 300, 600), +(@OGUID + 02, 0, 0, 1, -4740.04296875, -3639.890625, 310.8572998046875, 1.518436193466186523, 0, 0, 0.6883544921875, 0.725374460220336914, 300, 600), +(@OGUID + 03, 0, 0, 1, -5056.19482421875, -3839.68408203125, 314.213775634765625, 4.468043327331542968, 0, 0, -0.7880105972290039, 0.615661680698394775, 300, 600), +(@OGUID + 04, 0, 0, 1, -5003.638671875, -3982.493896484375, 302.198638916015625, 0.715584874153137207, 0, 0, 0.350207328796386718, 0.936672210693359375, 300, 600), +(@OGUID + 05, 0, 0, 1, -4842.521484375, -3797.55419921875, 305.350250244140625, 5.654868602752685546, 0, 0, -0.30901622772216796, 0.95105677843093872, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 002', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142390; +SET @SGUID := 440; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -5672.865234375, -4061.725341796875, 369.323486328125, 3.52557229995727539, 0, 0, -0.98162651062011718, 0.190812408924102783, 300, 600), +(@OGUID + 01, 0, 0, 1, -5859.111328125, -4164.470703125, 392.564666748046875, 3.9793548583984375, 0, 0, -0.9135446548461914, 0.406738430261611938, 300, 600), +(@OGUID + 02, 0, 0, 1, -5900.90087890625, -3932.23876953125, 359.912506103515625, 6.161012649536132812, 0, 0, -0.06104850769042968, 0.998134791851043701, 300, 600), +(@OGUID + 03, 0, 0, 1, -5843.44775390625, -4005.388427734375, 375.697235107421875, 3.141592741012573242, 0, 0, -1, 0, 300, 600), +(@OGUID + 04, 0, 0, 1, -4991.6142578125, -4149.5107421875, 312.48187255859375, 0.383971005678176879, 0, 0, 0.190808296203613281, 0.981627285480499267, 300, 600), +(@OGUID + 05, 0, 0, 1, -5217.759765625, -4201.66552734375, 358.265594482421875, 0.977383077144622802, 0, 0, 0.469470977783203125, 0.882947921752929687, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 003', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142400; +SET @SGUID := 441; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -5661.685546875, -3968.294189453125, 322.298187255859375, 6.03883981704711914, 0, 0, -0.12186908721923828, 0.9925462007522583, 300, 600), +(@OGUID + 01, 0, 0, 1, -5653.57470703125, -3924.10205078125, 328.477996826171875, 0.209439441561698913, 0, 0, 0.104528427124023437, 0.994521915912628173, 300, 600), +(@OGUID + 02, 0, 0, 1, -5683.478515625, -3989.89453125, 331.728485107421875, 1.954769015312194824, 0, 0, 0.829037666320800781, 0.559192776679992675, 300, 600), +(@OGUID + 03, 0, 0, 1, -5697.35009765625, -3950.595458984375, 327.836181640625, 1.832594871520996093, 0, 0, 0.793353080749511718, 0.608761727809906005, 300, 600), +(@OGUID + 04, 0, 0, 1, -5639.08349609375, -3903.591064453125, 325.725067138671875, 1.343901276588439941, 0, 0, 0.622513771057128906, 0.78260880708694458, 300, 600), +(@OGUID + 05, 0, 0, 1, -5751.90087890625, -4007.233642578125, 333.006103515625, 4.939284324645996093, 0, 0, -0.6225137710571289, 0.78260880708694458, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 004', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142410; +SET @SGUID := 442; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -5787.00341796875, -4132.4033203125, 392.251800537109375, 1.291541695594787597, 0, 0, 0.60181427001953125, 0.798636078834533691, 300, 600), +(@OGUID + 01, 0, 0, 1, -5469.68310546875, -3993.958251953125, 348.996246337890625, 4.468043327331542968, 0, 0, -0.7880105972290039, 0.615661680698394775, 300, 600), +(@OGUID + 02, 0, 0, 1, -5344.7001953125, -3897.947509765625, 334.121307373046875, 1.413715124130249023, 0, 0, 0.649447441101074218, 0.760406434535980224, 300, 600), +(@OGUID + 03, 0, 0, 1, -5406.255859375, -3968.807373046875, 341.18524169921875, 0.733038187026977539, 0, 0, 0.358367919921875, 0.933580458164215087, 300, 600), +(@OGUID + 04, 0, 0, 1, -5305.4453125, -3973.587646484375, 340.166656494140625, 2.530723094940185546, 0, 0, 0.953716278076171875, 0.300707906484603881, 300, 600), +(@OGUID + 05, 0, 0, 1, -5349.287109375, -4168.892578125, 336.42718505859375, 3.700104713439941406, 0, 0, -0.96126079559326171, 0.275640487670898437, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 005', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142420; +SET @SGUID := 443; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -6173.9599609375, -2945.98876953125, 407.144073486328125, 2.024578809738159179, 0, 0, 0.848047256469726562, 0.529920578002929687, 300, 600), +(@OGUID + 01, 0, 0, 1, -6198.26220703125, -2975.941650390625, 393.076324462890625, 5.113816738128662109, 0, 0, -0.55193614959716796, 0.833886384963989257, 300, 600), +(@OGUID + 02, 0, 0, 1, -6194.20751953125, -2996.444091796875, 387.532867431640625, 6.230826377868652343, 0, 0, -0.02617645263671875, 0.999657332897186279, 300, 600), +(@OGUID + 03, 0, 0, 1, -6218.80322265625, -2951.59326171875, 403.943328857421875, 5.305802345275878906, 0, 0, -0.46947097778320312, 0.882947921752929687, 300, 600), +(@OGUID + 04, 0, 0, 1, -6225.203125, -2998.354736328125, 386.98858642578125, 2.600535154342651367, 0, 0, 0.963629722595214843, 0.26724100112915039, 300, 600), +(@OGUID + 05, 0, 0, 1, -6200.5322265625, -3028.9921875, 388.521514892578125, 0.139624491333961486, 0, 0, 0.06975555419921875, 0.997564136981964111, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'), +(@SGUID + 00, @OGUID + 05, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 006', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142430; +SET @SGUID := 444; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -5691.1455078125, -4099.23828125, 397.564605712890625, 4.97418975830078125, 0, 0, -0.60876083374023437, 0.793353796005249023, 300, 600), +(@OGUID + 01, 0, 0, 1, -5766.72509765625, -3573.736328125, 337.774078369140625, 5.393068790435791015, 0, 0, -0.43051052093505859, 0.902585566043853759, 300, 600), +(@OGUID + 02, 0, 0, 1, -5802.45361328125, -3740.060791015625, 325.45281982421875, 6.213373661041259765, 0, 0, -0.03489875793457031, 0.999390840530395507, 300, 600), +(@OGUID + 03, 0, 0, 1, -5732.50537109375, -4130.451171875, 391.865234375, 2.042035102844238281, 0, 0, 0.852640151977539062, 0.522498607635498046, 300, 600), +(@OGUID + 04, 0, 0, 1, -5842.29150390625, -4205.47802734375, 417.78924560546875, 3.839725255966186523, 0, 0, -0.93969249725341796, 0.34202045202255249, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 007', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142440; +SET @SGUID := 445; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -6088.7021484375, -2908.382080078125, 419.217132568359375, 1.117009282112121582, 0, 0, 0.529918670654296875, 0.84804844856262207, 300, 600), +(@OGUID + 01, 0, 0, 1, -6062.6103515625, -2740.1259765625, 422.30908203125, 6.073746204376220703, 0, 0, -0.10452842712402343, 0.994521915912628173, 300, 600), +(@OGUID + 02, 0, 0, 1, -6057.48974609375, -2975.40478515625, 406.014862060546875, 3.560472726821899414, 0, 0, -0.97814750671386718, 0.207912087440490722, 300, 600), +(@OGUID + 03, 0, 0, 1, -5819.97900390625, -2801.674560546875, 381.22271728515625, 1.832594871520996093, 0, 0, 0.793353080749511718, 0.608761727809906005, 300, 600), +(@OGUID + 04, 0, 0, 1, -6097.8974609375, -2814.65283203125, 420.0242919921875, 2.478367090225219726, 0, 0, 0.94551849365234375, 0.325568377971649169, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'), +(@SGUID + 00, @OGUID + 04, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 008', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142450; +SET @SGUID := 446; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -4827.33837890625, -3870.072998046875, 308.506072998046875, 1.064649581909179687, 0, 0, 0.507537841796875, 0.861629426479339599, 300, 600), +(@OGUID + 01, 0, 0, 1, -4779.18359375, -4055.913330078125, 311.67919921875, 0.15707901120185852, 0, 0, 0.078458786010742187, 0.996917366981506347, 300, 600), +(@OGUID + 02, 0, 0, 1, -4746.72900390625, -4183.38037109375, 307.556884765625, 2.67034769058227539, 0, 0, 0.972369194030761718, 0.233448356389999389, 300, 600), +(@OGUID + 03, 0, 0, 1, -4837.57958984375, -4144.1103515625, 307.81121826171875, 4.834563255310058593, 0, 0, -0.66261959075927734, 0.748956084251403808, 300, 600); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 009', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5'); + +-- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +SET @OGUID := 142460; +SET @SGUID := 447; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES +(@OGUID + 00, 0, 0, 1, -5575.63916015625, -2751.3671875, 370.086700439453125, 5.305802345275878906, 0, 0, -0.46947097778320312, 0.882947921752929687, 300, 600), +(@OGUID + 01, 0, 0, 1, -5067.3505859375, -2619.153076171875, 373.1982421875, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 300, 600), +(@OGUID + 02, 0, 0, 1, -5361.26904296875, -2695.26806640625, 386.190948486328125, 2.687806606292724609, 0, 0, 0.974370002746582031, 0.224951311945915222, 300, 600), +(@OGUID + 03, 0, 0, 1, -4763.1640625, -2960.6875, 323.211822509765625, 0.471238493919372558, 0, 0, 0.233445167541503906, 0.972369968891143798, 600, 1200); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES +(@SGUID + 00, @OGUID + 00, '-1'), +(@SGUID + 00, @OGUID + 01, '-1'), +(@SGUID + 00, @OGUID + 02, '-1'), +(@SGUID + 00, @OGUID + 03, '-1'); + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES +(@SGUID + 00, 'Loch Modan - Tin Vein (1) Ore 010', '1', '1', '0', '0'); + +INSERT INTO `spawn_group_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES +(@SGUID + 00, '1732', '0', '0', '0'), +(@SGUID + 00, '1733', '0', '0', '5');