Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- A lot of missing spawns. Objects and creatures
- SET @CGUID := 1700000;
- SET @OGUID := 1700000;
- SET @EVENT := 24;
- -- Berfest Reveler
- DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+33;
- INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES
- -- Barleybrew Apprentice <Barleybrew Brew Vendor>
- (@CGUID+0,23482,530,1,1,22395,0,-4016.6,-11833,0.106771,4.04165,300,0,0,2215,0,0,0,0,0),
- -- Brewfest Reveler - Exodar
- (@CGUID+1,24484,530,1,1,21843,86,-4004.32,-11859.4,0.177081,0.860784,300,0,0,2215,0,0,0,0,0),
- (@CGUID+2,24484,530,1,1,21844,86,-4001.38,-11855.2,0.211436,4.18773,300,0,0,2215,0,0,0,0,0),
- (@CGUID+3,24484,530,1,1,21843,86,-4010.47,-11852.8,0.118782,4.25763,300,0,0,2215,0,0,0,0,0),
- (@CGUID+4,24484,530,1,1,21842,86,-4009.89,-11854.7,0.121793,3.64502,300,0,0,2215,0,0,0,0,0),
- (@CGUID+5,24484,530,1,1,21844,86,-4012.09,-11839.5,0.131949,0.507355,300,0,0,2215,0,0,0,0,0),
- (@CGUID+6,24484,530,1,1,21845,86,-4005.04,-11840.8,0.203372,2.26665,300,0,0,2215,0,0,0,0,0),
- (@CGUID+7,24484,530,1,1,21842,86,-4017.34,-11851.2,0.047381,1.00608,300,0,0,2215,0,0,0,0,0),
- (@CGUID+8,24484,530,1,1,21845,86,-4013.17,-11842.1,0.114192,4.16731,300,0,0,2215,0,0,0,0,0),
- (@CGUID+9,24484,530,1,1,21844,86,-4012.1,-11847.4,0.111304,2.65935,300,0,0,2215,0,0,0,0,0),
- (@CGUID+10,24484,530,1,1,21843,86,-4017.5,-11845,0.0595054,5.9266,300,0,0,2215,0,0,0,0,0),
- -- Brewfest Reveler - Eversong Woods
- (@CGUID+11,24484,530,1,1,21841,86,9318.1,-7278.19,13.3383,0.709729,300,0,0,2215,0,0,0,0,0),
- (@CGUID+12,24484,530,1,1,21838,86,9318.04,-7274.55,13.3571,5.13466,300,0,0,2215,0,0,0,0,0),
- (@CGUID+13,24484,530,1,1,21840,86,9322.69,-7278.57,13.2085,3.03844,300,0,0,2215,0,0,0,0,0),
- (@CGUID+14,24484,530,1,1,21839,86,9323.46,-7274.86,13.2653,3.31333,300,0,0,2215,0,0,0,0,0),
- (@CGUID+15,24484,530,1,1,21840,86,9333.88,-7275.82,13.514,5.39384,300,0,0,2215,0,0,0,0,0),
- (@CGUID+16,24484,530,1,1,21841,86,9335.93,-7281.15,13.695,2.03234,300,0,0,2215,0,0,0,0,0),
- (@CGUID+17,24484,530,1,1,21838,86,9340.67,-7275.46,14.0555,4.97837,300,0,0,2215,0,0,0,0,0),
- (@CGUID+18,24484,530,1,1,21839,86,9343.15,-7280.24,14.3778,2.35828,300,0,0,2215,0,0,0,0,0),
- (@CGUID+19,24484,530,1,1,21840,86,9334.47,-7296.27,13.7759,3.58271,300,0,0,2215,0,0,0,0,0),
- (@CGUID+20,24484,530,1,1,21839,86,9329.98,-7295.05,13.7486,5.6758,300,0,0,2215,0,0,0,0,0),
- (@CGUID+21,24484,530,1,1,21841,86,9340.93,-7269.42,14.5058,0.837748,300,0,0,2215,0,0,0,0,0),
- -- Troll Commoner
- (@CGUID+22,19177,1,1,1,21876,0,1748.94,-4497.53,28.793,5.47104,300,0,0,42,0,0,0,0,0),
- (@CGUID+23,19177,1,1,1,21877,0,1752.58,-4499.43,28.2911,2.89886,300,0,0,42,0,0,0,0,0),
- -- Orc Commoner
- (@CGUID+24,19175,1,1,1,21868,0,1609.47,-4323.21,2.33176,3.34811,300,0,0,42,0,0,0,0,0),
- (@CGUID+25,19175,1,1,1,21869,0,1605.95,-4324.2,2.19915,0.0101724,300,0,0,42,0,0,0,0,0),
- -- Gnome Commoner
- (@CGUID+26,19172,0,1,1,21850,0,-4831.74,-1172.58,502.278,6.19592,2,0,0,42,0,0,3,0,0),
- (@CGUID+27,19172,0,1,1,21853,0,-4829.88,-1173.25,502.277,2.49582,2,0,0,42,0,0,3,0,0),
- -- Bok Dropcertain
- (@CGUID+28,24527,1,1,1,0,0,795.14,-4522.59,6.31052,5.20636,300,0,0,1004,0,0,0,0,0),
- -- Drohn's Distillery Apprentice
- (@CGUID+29,24501,530,1,1,22491,0,9333.7,-7269.67,13.7715,4.52047,300,0,0,2215,0,0,0,0,0),
- -- Gordok Brew Apprentice <Gordok Brew Vendor>
- (@CGUID+30,23511,530,1,1,0,0,-4020.13,-11855.6,0.0061873,1.0273,300,0,0,2215,0,0,0,0,0),
- (@CGUID+31,23511,530,1,1,0,0,9313.83,-7281.3,13.8523,0.903714,300,0,0,2215,0,0,0,0,0),
- -- T'chali's Voodoo Brewery Apprentice <Voodoo Brew Vendor>
- (@CGUID+32,23533,530,1,1,22493,0,9330.11,-7285.87,13.7137,1.37103,300,0,0,2215,0,0,0,0,0),
- -- Thunderbrew Apprentice
- (@CGUID+33,23510,530,1,1,0,0,-4021.3,-11842.9,0.0212859,5.9439,300,0,0,2215,0,0,0,0,0);
- -- Make the above spawns only happen if Brewfest is active
- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+33;
- INSERT INTO `game_event_creature` VALUES
- (@EVENT,@CGUID+0),(@EVENT,@CGUID+1),(@EVENT,@CGUID+2),(@EVENT,@CGUID+3),
- (@EVENT,@CGUID+4),(@EVENT,@CGUID+5),(@EVENT,@CGUID+6),(@EVENT,@CGUID+7),
- (@EVENT,@CGUID+8),(@EVENT,@CGUID+9),(@EVENT,@CGUID+10),(@EVENT,@CGUID+11),
- (@EVENT,@CGUID+12),(@EVENT,@CGUID+13),(@EVENT,@CGUID+14),(@EVENT,@CGUID+15),
- (@EVENT,@CGUID+16),(@EVENT,@CGUID+17),(@EVENT,@CGUID+18),(@EVENT,@CGUID+19),
- (@EVENT,@CGUID+20),(@EVENT,@CGUID+21),(@EVENT,@CGUID+22),(@EVENT,@CGUID+23),
- (@EVENT,@CGUID+24),(@EVENT,@CGUID+25),(@EVENT,@CGUID+26),(@EVENT,@CGUID+27),
- (@EVENT,@CGUID+28),(@EVENT,@CGUID+29),(@EVENT,@CGUID+30),(@EVENT,@CGUID+31),
- (@EVENT,@CGUID+32),(@EVENT,@CGUID+33);
- DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+20;
- INSERT INTO `gameobject` VALUES
- -- Exodar
- (@OGUID+0,178666,530,1,1,-4015.97,-11829.2,0.146814,2.80549,0,0,0.985913,0.167262,300,0,1),
- (@OGUID+1,178666,530,1,1,-4024.94,-11840.7,-0.0137537,4.17208,0,0,0.870173,-0.492747,300,0,1),
- (@OGUID+2,186259,530,1,1,-4029.42,-11849.1,-0.0817791,3.05053,0,0,0.998964,0.0455147,300,0,1),
- (@OGUID+3,186260,530,1,1,-4008.1,-11835.5,0.186614,1.27632,0,0,0.595718,0.803194,300,0,1),
- (@OGUID+4,186257,530,1,1,-4016.1,-11859.2,0.0441619,4.26476,0,0,0.846413,-0.532527,300,0,1),
- (@OGUID+5,186221,530,1,1,-4008.42,-11850.7,0.144533,2.04601,0,0,0.853677,0.520803,300,0,1),
- (@OGUID+6,186717,530,1,1,-4008.29,-11857.1,0.135722,5.47893,0,0,0.391378,-0.92023,300,0,1),
- (@OGUID+7,186717,530,1,1,-4002.56,-11851,0.205429,5.13728,0,0,0.542116,-0.840304,300,0,1),
- -- Darnassus
- (@OGUID+8,186717,1,1,1,9962.87,2218.32,1329.82,1.77101,0,0,0.774236,0.632897,300,0,1),
- (@OGUID+9,186717,1,1,1,9963.64,2192.59,1328.52,4.74374,0,0,0.695937,-0.718103,300,0,1),
- -- Eversong Woods
- (@OGUID+10,178666,530,1,1,9333.24,-7265.71,13.7149,3.15074,0,0,0.99999,-0.00457361,300,0,1),
- (@OGUID+11,178666,530,1,1,9330.88,-7289.79,13.7388,0.18586,0,0,0.0927961,0.995685,300,0,1),
- (@OGUID+12,186717,530,1,1,9319.23,-7265.19,13.7578,2.02761,0,0,0.84885,0.528633,300,0,1),
- (@OGUID+13,186717,530,1,1,9310.25,-7291.41,14.4908,2.53027,0,0,0.953648,0.300923,300,0,1),
- (@OGUID+14,186221,530,1,1,9318.17,-7291.17,14.4236,0.649241,0,0,0.318949,0.947772,300,0,1),
- (@OGUID+15,186257,530,1,1,9318.61,-7289.66,14.436,0.782759,0,0,0.381464,0.924384,300,0,1),
- (@OGUID+16,186256,530,1,1,9341.19,-7288.21,14.3979,4.71368,0,0,0.70665,-0.707563,300,0,1),
- (@OGUID+17,186255,530,1,1,9343.07,-7265.55,14.691,1.48569,0,0,0.676387,0.736546,300,0,1),
- (@OGUID+18,180037,530,1,1,9316.77,-7283.36,13.7084,3.63768,0,0,0.969394,-0.24551,300,0,1),
- (@OGUID+19,180037,530,1,1,9313.62,-7285.06,13.9541,3.38636,0,0,0.992521,-0.122077,300,0,1),
- (@OGUID+20,180037,530,1,1,9308.97,-7280.39,14.447,5.40091,0,0,0.426971,-0.904265,300,0,1);
- -- Make the above game objects only spawn if Brewfest is active
- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID AND @OGUID+20;
- INSERT INTO `game_event_gameobject` VALUES
- (@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);
- -- [Q] [H] Catch the Wild Wolpertinger!
- -- Alliance version already had this
- DELETE FROM `creature_involvedrelation` WHERE `id`=24657 AND `quest`=11431;
- INSERT INTO `creature_involvedrelation` (`id`,`quest`) VALUES
- (24657,11431);
- DELETE FROM `creature_questrelation` WHERE `id`=24657 AND `quest`=11431;
- INSERT INTO `creature_questrelation` (`id`,`quest`) VALUES
- (24657,11431);
- -- [Q] [A/H] Did Someone Say "Souvenir?" & Say, There Wouldn't Happen to be a Souvenir This Year, Would There?
- DELETE FROM `creature_questrelation` WHERE `quest` IN (11321,11413,12194,12193);
- DELETE FROM `creature_involvedrelation` WHERE `quest` IN (24510,24468);
- -- [Q] [A/H] Another Year, Another Souvenir.
- DELETE FROM `creature_involvedrelation` WHERE `id` IN (24495,23710) AND `quest` IN (13931,13932);
- INSERT INTO `creature_involvedrelation` (`id`,`quest`) VALUES
- (24495,13931), -- Horde
- (23710,13932); -- Alliance
- DELETE FROM `creature_questrelation` WHERE `id` IN (24510,24468) AND `quest` IN (13931,13932);
- INSERT INTO `creature_questrelation` (`id`,`quest`) VALUES
- (24510,13931), -- Horde
- (24468,13932); -- Alliance
- -- [Q] [A/H] Did Someone Say "Souvenir?" - removed in 2.4.3
- DELETE FROM `creature_involvedrelation` WHERE `id` IN (23710,24495) AND `quest` IN (11321,11413);
- DELETE FROM `creature_questrelation` WHERE `id` IN (23710,24495) AND `quest` IN (11321,11413);
- -- [Q] [A] Direbrew's Dire Brew - removed PrevQuestId in 2010
- -- Horde version already had this
- UPDATE `quest_template` SET `PrevQuestId`=0 WHERE `entry`=12491;
- -- [Q] [A/H] Save Brewfest! - removed in 2.4.3
- DELETE FROM `creature_involvedrelation` WHERE `id` IN (23710,24495) AND `quest` IN (11321,11413);
- DELETE FROM `creature_questrelation` WHERE `id` IN (23710,24495) AND `quest` IN (11321,11413);
- -- [Q] A/H] Save Brewfest! should have pre-req Welcome to Brewfest!
- UPDATE `quest_template` SET `PrevQuestId`=11442 WHERE `entry` IN (12318,11447);
- -- Misc.
- DELETE FROM `creature_ai_scripts` WHERE `creature_id`=23698; -- Drunken Brewfest Reveler
- UPDATE `creature_template_addon` SET `auras`='43905' WHERE `entry`=23698; -- Drunken Brewfest Reveler
- UPDATE `creature_template` SET `AIName`='' WHERE `entry`=23698; -- Drunken Brewfest Reveler
- UPDATE `creature` SET `spawntimesecs`=450 WHERE `id`=24484; -- Brewfest Reveler had 12 hour respawntime ...
- -- Send a mail on quest complete "Brew of the Month Club" - there is no wait time so we won't use RewMailDelaySecs
- -- Alliance quest missed quest texts
- SET @MAIL_A := 209;
- SET @MAIL_H := 210;
- UPDATE `quest_template` SET `RewMailTemplateId`=@MAIL_A,`OfferRewardText`="Your paperwork looks to be in order. Welcome to the club, $N!$B$BYou can expect to get our mail at the start of every month. If you like what you got, stop by and we can sell you some more. This is the club that keeps on giving.",`RequestItemsText`="Do you have your membership forms filled out?" WHERE `entry`=12420;
- UPDATE `quest_template` SET `RewMailTemplateId`=@MAIL_H WHERE `entry`=12306;
- -- Ray'ma and Larkin were also finishing the incorrect quests
- DELETE FROM `creature_involvedrelation` WHERE `quest` IN (12278,12421);
- -- The alliance vendors were selling wrong item - Ray'ma already had one but Blix was missing
- DELETE FROM `npc_vendor` WHERE `item` IN (37571,37736,37599);
- INSERT INTO `npc_vendor` (`entry`,`slot`,`item`,`maxcount`,`incrtime`,`ExtendedCost`) VALUES
- (23710,0,37736,0,0,2276), -- Belbi Quikswitch
- (27478,0,37736,0,0,2276), -- Larkin Thunderbrew
- (24495,0,37599,0,0,2276); -- Blix Fixwidget
- -- Insert missing Pint-Sized Pink Pachyderm for 100 tokens
- DELETE FROM `npc_vendor` WHERE `item`=46707;
- INSERT INTO `npc_vendor` (`entry`,`slot`,`item`,`maxcount`,`incrtime`,`ExtendedCost`) VALUES
- (23710,0,46707,0,0,2275), -- Belbi Quikswitch
- (27478,0,46707,0,0,2275), -- Larkin Thunderbrew
- (24495,0,46707,0,0,2275), -- Blix Fixwidget
- (27489,0,46707,0,0,2275); -- Ray'ma
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement