Skip to content

Commit e7fddd9

Browse files
authored
Pool Tanaris Mining Nodes (#2878)
1 parent 93dbf9e commit e7fddd9

File tree

1 file changed

+204
-0
lines changed

1 file changed

+204
-0
lines changed
+204
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
DROP PROCEDURE IF EXISTS add_migration;
2+
DELIMITER ??
3+
CREATE PROCEDURE `add_migration`()
4+
BEGIN
5+
DECLARE v INT DEFAULT 1;
6+
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20250124173349');
7+
IF v = 0 THEN
8+
INSERT INTO `migrations` VALUES ('20250124173349');
9+
-- Add your query below.
10+
11+
12+
-- Pool Small Thorium Vein / Truesilver Deposit in Tanaris.
13+
SET @OGUID = 112757;
14+
SET @PTEMPLATE = 7149;
15+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
16+
(9915, 4, 'Tanaris - Truesilver Deposit / Small Thorium Vein (Master Pool)', 0, 0, 0, 10);
17+
18+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13570);
19+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
20+
(@OGUID+1, 2047, 1, -9250.91, -4122.72, -53.0446, 0.680677, 0, 0, 0.333806, 0.942642, 300, 300, 100, 1, 0, 0, 0, 10);
21+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
22+
(@PTEMPLATE+1, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
23+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
24+
(13570, @PTEMPLATE+1, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
25+
(@OGUID+1, @PTEMPLATE+1, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
26+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
27+
(@PTEMPLATE+1, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
28+
29+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13571);
30+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
31+
(@OGUID+2, 2047, 1, -8894, -2071.01, 21.4428, 4.01426, 0, 0, -0.906307, 0.422619, 300, 300, 100, 1, 0, 0, 0, 10);
32+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
33+
(@PTEMPLATE+2, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
34+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
35+
(13571, @PTEMPLATE+2, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
36+
(@OGUID+2, @PTEMPLATE+2, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
37+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
38+
(@PTEMPLATE+2, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
39+
40+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13572);
41+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
42+
(@OGUID+3, 2047, 1, -8854.05, -2247.24, 10.9005, 4.95674, 0, 0, -0.615661, 0.788011, 300, 300, 100, 1, 0, 0, 0, 10);
43+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
44+
(@PTEMPLATE+3, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
45+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
46+
(13572, @PTEMPLATE+3, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
47+
(@OGUID+3, @PTEMPLATE+3, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
48+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
49+
(@PTEMPLATE+3, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
50+
51+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13573);
52+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
53+
(@OGUID+4, 2047, 1, -7974.58, -2353.84, -24.0715, 2.80998, 0, 0, 0.986285, 0.16505, 300, 300, 100, 1, 0, 0, 0, 10);
54+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
55+
(@PTEMPLATE+4, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
56+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
57+
(13573, @PTEMPLATE+4, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
58+
(@OGUID+4, @PTEMPLATE+4, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
59+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
60+
(@PTEMPLATE+4, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
61+
62+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13574);
63+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
64+
(@OGUID+5, 2047, 1, -9234.02, -4041.78, -39.3105, -2.23402, 0, 0, 0.898794, -0.438371, 300, 300, 100, 1, 0, 0, 0, 10);
65+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
66+
(@PTEMPLATE+5, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
67+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
68+
(13574, @PTEMPLATE+5, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
69+
(@OGUID+5, @PTEMPLATE+5, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
70+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
71+
(@PTEMPLATE+5, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
72+
73+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13575);
74+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
75+
(@OGUID+6, 2047, 1, -9099.4, -2099.06, 24.8635, 5.46288, 0, 0, -0.398748, 0.91706, 300, 300, 100, 1, 0, 0, 0, 10);
76+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
77+
(@PTEMPLATE+6, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
78+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
79+
(13575, @PTEMPLATE+6, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
80+
(@OGUID+6, @PTEMPLATE+6, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
81+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
82+
(@PTEMPLATE+6, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
83+
84+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13576);
85+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
86+
(@OGUID+7, 2047, 1, -8990.3, -4147.92, -30.7274, 5.93412, 0, 0, -0.173648, 0.984808, 300, 300, 100, 1, 0, 0, 0, 10);
87+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
88+
(@PTEMPLATE+7, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
89+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
90+
(13576, @PTEMPLATE+7, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
91+
(@OGUID+7, @PTEMPLATE+7, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
92+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
93+
(@PTEMPLATE+7, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
94+
95+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13577);
96+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
97+
(@OGUID+8, 2047, 1, -8844.1, -2373.4, 17.7803, 5.72468, 0, 0, -0.275637, 0.961262, 300, 300, 100, 1, 0, 0, 0, 10);
98+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
99+
(@PTEMPLATE+8, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
100+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
101+
(13577, @PTEMPLATE+8, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
102+
(@OGUID+8, @PTEMPLATE+8, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
103+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
104+
(@PTEMPLATE+8, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
105+
106+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13578);
107+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
108+
(@OGUID+9, 2047, 1, -8327.19, -4634.65, 14.1491, 3.12414, 0, 0, 0.999962, 0.008727, 300, 300, 100, 1, 0, 0, 0, 10);
109+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
110+
(@PTEMPLATE+9, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
111+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
112+
(13578, @PTEMPLATE+9, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
113+
(@OGUID+9, @PTEMPLATE+9, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
114+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
115+
(@PTEMPLATE+9, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
116+
117+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13579);
118+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
119+
(@OGUID+10, 2047, 1, -8042.74, -4665.4, 30.8037, 1.43117, 0, 0, 0.656059, 0.75471, 300, 300, 100, 1, 0, 0, 0, 10);
120+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
121+
(@PTEMPLATE+10, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
122+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
123+
(13579, @PTEMPLATE+10, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
124+
(@OGUID+10, @PTEMPLATE+10, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
125+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
126+
(@PTEMPLATE+10, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
127+
128+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13580);
129+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
130+
(@OGUID+11, 2047, 1, -7896.6, -2350.58, -21.7524, 5.09636, 0, 0, -0.559193, 0.829038, 300, 300, 100, 1, 0, 0, 0, 10);
131+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
132+
(@PTEMPLATE+11, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
133+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
134+
(13580, @PTEMPLATE+11, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
135+
(@OGUID+11, @PTEMPLATE+11, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
136+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
137+
(@PTEMPLATE+11, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
138+
139+
DELETE FROM `pool_gameobject` WHERE `guid` IN (13581);
140+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
141+
(@OGUID+12, 2047, 1, -7901.32, -2439.83, -31.0405, 1.09956, 0, 0, 0.522499, 0.85264, 300, 300, 100, 1, 0, 0, 0, 10);
142+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
143+
(@PTEMPLATE+12, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
144+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
145+
(13581, @PTEMPLATE+12, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
146+
(@OGUID+12, @PTEMPLATE+12, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
147+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
148+
(@PTEMPLATE+12, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
149+
150+
DELETE FROM `pool_gameobject` WHERE `guid` IN (58136);
151+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
152+
(@OGUID+13, 2047, 1, -8998.67, -2266.72, 21.2362, 0.314158, 0, 0, 0.156434, 0.987688, 300, 300, 100, 1, 0, 0, 0, 10);
153+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
154+
(@PTEMPLATE+13, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
155+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
156+
(58136, @PTEMPLATE+13, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
157+
(@OGUID+13, @PTEMPLATE+13, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
158+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
159+
(@PTEMPLATE+13, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
160+
161+
DELETE FROM `pool_gameobject` WHERE `guid` IN (58137);
162+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
163+
(@OGUID+14, 2047, 1, -8105.63, -4545.38, 22.5823, 5.72468, 0, 0, -0.275637, 0.961262, 300, 300, 100, 1, 0, 0, 0, 10);
164+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
165+
(@PTEMPLATE+14, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
166+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
167+
(58137, @PTEMPLATE+14, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
168+
(@OGUID+14, @PTEMPLATE+14, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
169+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
170+
(@PTEMPLATE+14, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
171+
172+
DELETE FROM `pool_gameobject` WHERE `guid` IN (58138);
173+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES
174+
(@OGUID+15, 2047, 1, -8025.82, -2638.29, -44.5267, 5.93412, 0, 0, -0.173648, 0.984808, 300, 300, 100, 1, 0, 0, 0, 10);
175+
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`, `flags`, `instance`, `patch_min`, `patch_max`) VALUES
176+
(@PTEMPLATE+15, 1, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 0, 10);
177+
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`, `flags`, `patch_min`, `patch_max`) VALUES
178+
(58138, @PTEMPLATE+15, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10),
179+
(@OGUID+15, @PTEMPLATE+15, 0, 'Truesilver Deposit / Small Thorium Vein - Tanaris', 0, 0, 10);
180+
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`, `flags`) VALUES
181+
(@PTEMPLATE+15, 9915, 0, 'Tanaris - Truesilver Deposit / Small Thorium Vein', 0);
182+
183+
DELETE FROM `pool_template` WHERE `entry` = 1204;
184+
185+
-- Add Chance
186+
-- Gold Vein / Mithril Deposit / Truesilver Deposit
187+
UPDATE `pool_gameobject` SET `chance` = 5 WHERE `description` = "Gold Vein / Mithril Deposit / Truesilver Deposit - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 1734);
188+
UPDATE `pool_gameobject` SET `chance` = 90 WHERE `description` = "Gold Vein / Mithril Deposit / Truesilver Deposit - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 2040);
189+
UPDATE `pool_gameobject` SET `chance` = 5 WHERE `description` = "Gold Vein / Mithril Deposit / Truesilver Deposit - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 2047);
190+
191+
UPDATE `pool_gameobject` SET `chance` = 5 WHERE `description` = "Silver Vein / Gold Vein / Iron Deposit - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 1733);
192+
UPDATE `pool_gameobject` SET `chance` = 90 WHERE `description` = "Silver Vein / Gold Vein / Iron Deposit - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 1735);
193+
UPDATE `pool_gameobject` SET `chance` = 5 WHERE `description` = "Silver Vein / Gold Vein / Iron Deposit - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 1734);
194+
195+
UPDATE `pool_gameobject` SET `chance` = 5 WHERE `description` = "Truesilver Deposit / Small Thorium Vein - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 2047);
196+
UPDATE `pool_gameobject` SET `chance` = 95 WHERE `description` = "Truesilver Deposit / Small Thorium Vein - Tanaris" && `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` = 324);
197+
198+
199+
-- End of migration.
200+
END IF;
201+
END??
202+
DELIMITER ;
203+
CALL add_migration();
204+
DROP PROCEDURE IF EXISTS add_migration;

0 commit comments

Comments
 (0)