aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2022_12_08_06_world.sql74
1 files changed, 74 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_12_08_06_world.sql b/sql/updates/world/master/2022_12_08_06_world.sql
new file mode 100644
index 00000000000..dc8763e747b
--- /dev/null
+++ b/sql/updates/world/master/2022_12_08_06_world.sql
@@ -0,0 +1,74 @@
+SET @CGUID := 396587;
+SET @OGUID := 249776;
+SET @EVENT := 26;
+
+-- Creature spawns
+DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1;
+INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
+(@CGUID+0, 32823, 0, 11, 150, '0', 0, 0, 0, 0, -3825.560791015625, -767.4375, 2.957251548767089843, 4.450589656829833984, 120, 0, 0, 19343, 0, 0, 0, 0, 0, 46741), -- Bountiful Table (Area: Menethil Harbor - Difficulty: 0)
+(@CGUID+1, 34653, 0, 11, 150, '0', 0, 0, 0, 0, -3817.270751953125, -768.71875, 2.684742450714111328, 4.450589656829833984, 120, 0, 0, 19343, 0, 0, 0, 0, 0, 46741); -- Bountiful Table Hostess (Area: Menethil Harbor - Difficulty: 0)
+
+-- Gameobject spawns
+DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+25;
+INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
+(@OGUID+0, 179968, 0, 11, 150, '0', 0, 0, -3828.611083984375, -772.70489501953125, 2.844998121261596679, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+1, 179968, 0, 11, 150, '0', 0, 0, -3824.421875, -773.11285400390625, 2.709897279739379882, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+2, 179968, 0, 11, 150, '0', 0, 0, -3821.701416015625, -772.70489501953125, 2.639637947082519531, 5.270895957946777343, 0, 0, -0.48480892181396484, 0.87462007999420166, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+3, 179968, 0, 11, 150, '0', 0, 0, -3819.010498046875, -766.30731201171875, 2.706299304962158203, 3.560472726821899414, 0, 0, -0.97814750671386718, 0.207912087440490722, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+4, 179968, 0, 11, 150, '0', 0, 0, -3823.5400390625, -761.97052001953125, 2.938312053680419921, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+5, 179968, 0, 11, 150, '0', 0, 0, -3828.30029296875, -763.11981201171875, 3.054933786392211914, 5.183629035949707031, 0, 0, -0.52249813079833984, 0.852640450000762939, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+6, 179968, 0, 11, 150, '0', 0, 0, -3818.83154296875, -768.93402099609375, 2.641748428344726562, 6.14356088638305664, 0, 0, -0.06975555419921875, 0.997564136981964111, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+7, 179968, 0, 11, 150, '0', 0, 0, -3830.5625, -769.9774169921875, 2.965996742248535156, 3.595378875732421875, 0, 0, -0.97437000274658203, 0.224951311945915222, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+8, 179968, 0, 11, 150, '0', 0, 0, -3821.451416015625, -762.58160400390625, 2.86163330078125, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+9, 179968, 0, 11, 150, '0', 0, 0, -3830.48095703125, -764.97918701171875, 3.077862501144409179, 5.619962215423583984, 0, 0, -0.32556724548339843, 0.945518851280212402, 120, 255, 1, 46741), -- Haystack 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+10, 180353, 0, 11, 150, '0', 0, 0, -3822.970458984375, -772.857666015625, 2.672941446304321289, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Freestanding Torch 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+11, 180353, 0, 11, 150, '0', 0, 0, -3817.970458984375, -767.29339599609375, 2.653890609741210937, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Freestanding Torch 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+12, 180353, 0, 11, 150, '0', 0, 0, -3829.510498046875, -763.57989501953125, 3.080736875534057617, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Freestanding Torch 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+13, 180353, 0, 11, 150, '0', 0, 0, -3829.770751953125, -771.57989501953125, 2.905548095703125, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Freestanding Torch 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+14, 180353, 0, 11, 150, '0', 0, 0, -3822.5400390625, -762.1319580078125, 2.904597043991088867, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Freestanding Torch 01 (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+15, 195164, 0, 11, 150, '0', 0, 0, -3821.5712890625, -762.6024169921875, 3.560752153396606445, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+16, 195164, 0, 11, 150, '0', 0, 0, -3828.28125, -763.17364501953125, 3.749126911163330078, 5.183629035949707031, 0, 0, -0.52249813079833984, 0.852640450000762939, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+17, 195164, 0, 11, 150, '0', 0, 0, -3830.473876953125, -769.89239501953125, 3.626624584197998046, 3.595378875732421875, 0, 0, -0.97437000274658203, 0.224951311945915222, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+18, 195164, 0, 11, 150, '0', 0, 0, -3824.451416015625, -773.05035400390625, 3.408217668533325195, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+19, 195164, 0, 11, 150, '0', 0, 0, -3828.671875, -772.64581298828125, 3.544173479080200195, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+20, 195164, 0, 11, 150, '0', 0, 0, -3830.401123046875, -764.90277099609375, 3.77321028709411621, 5.619962215423583984, 0, 0, -0.32556724548339843, 0.945518851280212402, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+21, 195164, 0, 11, 150, '0', 0, 0, -3818.826416015625, -769.04864501953125, 3.32099461555480957, 6.14356088638305664, 0, 0, -0.06975555419921875, 0.997564136981964111, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+22, 195164, 0, 11, 150, '0', 0, 0, -3819.092041015625, -766.28302001953125, 3.40521550178527832, 3.560472726821899414, 0, 0, -0.97814750671386718, 0.207912087440490722, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+23, 195164, 0, 11, 150, '0', 0, 0, -3823.5712890625, -762.076416015625, 3.632828950881958007, 4.45059061050415039, 0, 0, -0.79335308074951171, 0.608761727809906005, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+24, 195164, 0, 11, 150, '0', 0, 0, -3821.69091796875, -772.51739501953125, 3.33957982063293457, 5.270895957946777343, 0, 0, -0.48480892181396484, 0.87462007999420166, 120, 255, 1, 46741), -- Pumpkin (Area: Menethil Harbor - Difficulty: 0)
+(@OGUID+25, 195664, 0, 11, 150, '0', 0, 0, -3825.560791015625, -767.4375, 2.87391829490661621, 0, 0, 0, 0, 1, 120, 255, 1, 46741); -- [DND] Collision Thanksgiving Table Size (Area: Menethil Harbor - Difficulty: 0)
+
+-- Event spawns
+DELETE FROM `game_event_creature` WHERE `eventEntry`=@EVENT AND `guid` BETWEEN @CGUID+0 AND @CGUID+1;
+INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
+(@EVENT, @CGUID+0),
+(@EVENT, @CGUID+1);
+
+DELETE FROM `game_event_gameobject` WHERE `eventEntry`=@EVENT AND `guid` BETWEEN @OGUID+0 AND @OGUID+25;
+INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
+(@EVENT, @OGUID+0),
+(@EVENT, @OGUID+1),
+(@EVENT, @OGUID+2),
+(@EVENT, @OGUID+3),
+(@EVENT, @OGUID+4),
+(@EVENT, @OGUID+5),
+(@EVENT, @OGUID+6),
+(@EVENT, @OGUID+7),
+(@EVENT, @OGUID+8),
+(@EVENT, @OGUID+9),
+(@EVENT, @OGUID+10),
+(@EVENT, @OGUID+11),
+(@EVENT, @OGUID+12),
+(@EVENT, @OGUID+13),
+(@EVENT, @OGUID+14),
+(@EVENT, @OGUID+15),
+(@EVENT, @OGUID+16),
+(@EVENT, @OGUID+17),
+(@EVENT, @OGUID+18),
+(@EVENT, @OGUID+19),
+(@EVENT, @OGUID+20),
+(@EVENT, @OGUID+21),
+(@EVENT, @OGUID+22),
+(@EVENT, @OGUID+23),
+(@EVENT, @OGUID+24),
+(@EVENT, @OGUID+25);