Files
moonwell-core-vanilla/sql/migrations/20170511141122_world.sql
T
2017-05-11 21:10:58 +01:00

109 lines
3.5 KiB
SQL

INSERT INTO `migrations` VALUES ('20170511141122');
-- Link Winterax trolls to Snowfall GY
DELETE FROM creature_battleground WHERE guid IN (1247034,1247035);
INSERT INTO creature_battleground (`guid`, `event1`, `event2`) VALUES (1247034, 18, 8);
INSERT INTO creature_battleground (`guid`, `event1`, `event2`) VALUES (1247035, 18, 8);
-- Link Horde tower NPCs to Relief Hut instead of Frostwolf GY
UPDATE creature_battleground SET event1 = 21
WHERE event1 = 20 AND guid IN (select guid from (SELECT * FROM creature_battleground) as temp where event1 IN (26,27,28,29));
-- Alliance AV NPCs: Stormpike Blood
DELETE FROM creature_loot_template WHERE item = 17306 AND entry IN (13422,13424,14188,13080,13396,13098,13296,13300,13546,13326,13325,13327,13524,13356,12047,13576,13331,13437,13438,13439,13087,13086,13324,13333,13335,13336,13419,13427,13525,13526,13527,13547,13548,13549,13550,13551,13552,13553,13554,13555,13556,13557,13797,14767);
INSERT INTO creature_loot_template (entry, item, groupid, condition_id) VALUES
(13422, 17306, 10, 2),
(13424, 17306, 10, 2),
(14188, 17306, 10, 2),
(13080, 17306, 10, 2),
(13396, 17306, 10, 2),
(13098, 17306, 10, 2),
(13296, 17306, 10, 2),
(13300, 17306, 10, 2),
(13546, 17306, 10, 2),
(13326, 17306, 10, 2),
(13325, 17306, 10, 2),
(13327, 17306, 10, 2),
(13524, 17306, 10, 2),
(13356, 17306, 10, 2),
(12047, 17306, 10, 2),
(13576, 17306, 10, 2),
(13331, 17306, 10, 2),
(13437, 17306, 10, 2),
(13438, 17306, 10, 2),
(13439, 17306, 10, 2),
(13087, 17306, 10, 2),
(13086, 17306, 10, 2),
(13324, 17306, 10, 2),
(13333, 17306, 10, 2),
(13335, 17306, 10, 2),
(13336, 17306, 10, 2),
(13419, 17306, 10, 2),
(13427, 17306, 10, 2),
(13525, 17306, 10, 2),
(13526, 17306, 10, 2),
(13527, 17306, 10, 2),
(13547, 17306, 10, 2),
(13548, 17306, 10, 2),
(13549, 17306, 10, 2),
(13550, 17306, 10, 2),
(13551, 17306, 10, 2),
(13552, 17306, 10, 2),
(13553, 17306, 10, 2),
(13554, 17306, 10, 2),
(13555, 17306, 10, 2),
(13556, 17306, 10, 2),
(13557, 17306, 10, 2),
(13797, 17306, 10, 2),
(14767, 17306, 10, 2);
-- Horde AV NPCs: Storm Crystal
DELETE FROM creature_loot_template WHERE item = 17423 AND entry IN (13536,13539,13542,13545,13425,13531,13428,13089,13316,13097,14770,14771,14282,13357,13528,13440,13218,13397,13081,13088,14185,13236,14186,13534,13537,13328,13330,13448,13176,13535,13538,13332,13334,13337,13449,13179,13180,13181,13421,13099,13543,13529,13541,13544,13530,13256);
INSERT INTO creature_loot_template (entry, item, groupid, condition_id) VALUES
(13536, 17423, 10, 3),
(13539, 17423, 10, 3),
(13542, 17423, 10, 3),
(13545, 17423, 10, 3),
(13425, 17423, 10, 3),
(13531, 17423, 10, 3),
(13428, 17423, 10, 3),
(13089, 17423, 10, 3),
(13316, 17423, 10, 3),
(13097, 17423, 10, 3),
(14770, 17423, 10, 3),
(14771, 17423, 10, 3),
(14282, 17423, 10, 3),
(13357, 17423, 10, 3),
(13528, 17423, 10, 3),
(13440, 17423, 10, 3),
(13218, 17423, 10, 3),
(13397, 17423, 10, 3),
(13081, 17423, 10, 3),
(13088, 17423, 10, 3),
(14185, 17423, 10, 3),
(13236, 17423, 10, 3),
(14186, 17423, 10, 3),
(13534, 17423, 10, 3),
(13537, 17423, 10, 3),
(13328, 17423, 10, 3),
(13330, 17423, 10, 3),
(13448, 17423, 10, 3),
(13176, 17423, 10, 3),
(13535, 17423, 10, 3),
(13538, 17423, 10, 3),
(13332, 17423, 10, 3),
(13334, 17423, 10, 3),
(13337, 17423, 10, 3),
(13449, 17423, 10, 3),
(13179, 17423, 10, 3),
(13180, 17423, 10, 3),
(13181, 17423, 10, 3),
(13421, 17423, 10, 3),
(13099, 17423, 10, 3),
(13543, 17423, 10, 3),
(13529, 17423, 10, 3),
(13541, 17423, 10, 3),
(13544, 17423, 10, 3),
(13530, 17423, 10, 3),
(13256, 17423, 10, 3);