-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2 groups with 2 copper veins spawned each
- Loading branch information
1 parent
f3c1062
commit c4007fa
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
05 06 08 09 | ||
01 04 08 09 | ||
02 06 07 08 | ||
02 03 08 11 | ||
01 02 10 11 | ||
04 05 09 10 | ||
02 05 07 09 | ||
01 03 07 10 | ||
02 06 09 11 | ||
01 02 10 11 | ||
*/ | ||
|
||
DELETE FROM `gameobject` WHERE `guid` IN (4737, 5047, 5237, 5416, 20645, 20646, 20647, 63454, 73670); | ||
DELETE FROM `pool_gameobject` WHERE `guid` IN (4737, 5047, 5237, 5416, 20645, 20646, 20647, 63454, 73670); | ||
|
||
-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
|
||
SET @OGUID := 142500; | ||
SET @SGUID := 10263; | ||
|
||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES | ||
(@OGUID + 00, 0, 1, 1, 170.6651763916015625, 1985.239990234375, 179.043731689453125, 6.230826377868652343, 0, 0, -0.02617645263671875, 0.999657332897186279, 300, 600), | ||
(@OGUID + 01, 0, 1, 1, 26.85167121887207031, 1824.607666015625, 127.6042861938476562, 5.078907966613769531, 0, 0, -0.56640625, 0.824126183986663818, 300, 600), | ||
(@OGUID + 02, 0, 1, 1, 212.4466400146484375, 1588.0970458984375, 174.4531097412109375, 3.752462387084960937, 0, 0, -0.95371627807617187, 0.300707906484603881, 300, 600), | ||
(@OGUID + 03, 0, 1, 1, 56.71576690673828125, 1562.73046875, 123.8455810546875, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 300, 600), | ||
(@OGUID + 04, 0, 1, 1, -114.646812438964843, 1298.894287109375, 93.6002960205078125, 0.122172988951206207, 0, 0, 0.061048507690429687, 0.998134791851043701, 300, 600), | ||
(@OGUID + 05, 0, 1, 1, -151.837020874023437, 1466.2340087890625, 102.197723388671875, 5.550147056579589843, 0, 0, -0.358367919921875, 0.933580458164215087, 300, 600); | ||
|
||
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES | ||
(@SGUID + 00, 'Desolace - Copper Vein (2) Ore 000', '1', '1', '0', '0'); | ||
|
||
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_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES | ||
(@SGUID + 00, '1731', '0', '0', '0'); | ||
|
||
-- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
|
||
SET @OGUID := 142510; | ||
SET @SGUID := 10264; | ||
|
||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES | ||
(@OGUID + 00, 0, 1, 1, -191.014862060546875, 1279.9073486328125, 96.0694580078125, 5.89921426773071289, 0, 0, -0.19080829620361328, 0.981627285480499267, 300, 600), | ||
(@OGUID + 01, 0, 1, 1, -201.551864624023437, 1178.9447021484375, 97.31302642822265625, 4.782202720642089843, 0, 0, -0.68199825286865234, 0.731353819370269775, 300, 600), | ||
(@OGUID + 02, 0, 1, 1, -322.0865478515625, 1097.666015625, 94.8923492431640625, 0.558503925800323486, 0, 0, 0.275636672973632812, 0.961261868476867675, 300, 600), | ||
(@OGUID + 03, 0, 1, 1, -278.59906005859375, 967.169921875, 94.76845550537109375, 3.473210096359252929, 0, 0, -0.98628520965576171, 0.165049895644187927, 300, 600), | ||
(@OGUID + 04, 0, 1, 1, -546.8497314453125, 934.19207763671875, 96.0840606689453125, 3.769911527633666992, 0, 0, -0.95105648040771484, 0.309017121791839599, 300, 600); | ||
|
||
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES | ||
(@SGUID + 00, 'Desolace - Copper Vein (2) Ore 001', '1', '1', '0', '0'); | ||
|
||
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_entry` (`Id`, `Entry`, `MinCount`, `MaxCount`, `Chance`) VALUES | ||
(@SGUID + 00, '1731', '0', '0', '0'); |
c4007fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.