mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-27 22:16:11 +00:00
fix(DB/game_event): implement 'Brewfest Building (Orgrimmar)' (#24517)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
This commit is contained in:
313
data/sql/updates/pending_db_world/rev_1769350900893801100.sql
Normal file
313
data/sql/updates/pending_db_world/rev_1769350900893801100.sql
Normal file
@@ -0,0 +1,313 @@
|
|||||||
|
-- add game event
|
||||||
|
DELETE FROM `game_event` WHERE `eventEntry` = 91;
|
||||||
|
INSERT INTO `game_event` (`eventEntry`, `start_time`, `end_time`, `occurence`, `length`, `holiday`, `holidayStage`, `description`, `world_event`, `announce`) VALUES
|
||||||
|
(91, NULL, NULL, 525600, 4320, 372, 1, 'Brewfest Building (Orgrimmar)', 0, 2);
|
||||||
|
|
||||||
|
-- Update gameobject 'Brewfest Building (Orgrimmar)' with sniffed values
|
||||||
|
-- new spawns
|
||||||
|
DELETE FROM `gameobject` WHERE (`id` IN (178666, 179967, 179968, 179969, 179970, 179972, 179973, 179977, 180007, 180026, 180046, 180047, 180052, 180353, 186217, 186683, 186717, 186737)) AND (`guid` IN (3763, 3764, 3765, 3766, 3767, 3768, 3769, 3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3782, 3783, 3784, 3785, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798, 3799, 3800, 3801, 3802, 3803, 3804, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3824, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 3834, 3835, 3836, 3837, 3838));
|
||||||
|
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES
|
||||||
|
(3763, 178666, 1, 0, 0, 1, 1, 1202.3385009765625, -4316.4853515625, 21.29575347900390625, 5.602506637573242187, 0, 0, -0.33380699157714843, 0.942641437053680419, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3764, 178666, 1, 0, 0, 1, 1, 1206.2276611328125, -4298.7412109375, 21.19341850280761718, 3.281238555908203125, 0, 0, -0.99756336212158203, 0.069766148924827575, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3765, 178666, 1, 0, 0, 1, 1, 1218.361572265625, -4312.39990234375, 21.25751113891601562, 1.239183306694030761, 0, 0, 0.580702781677246093, 0.814115643501281738, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3766, 179967, 1, 0, 0, 1, 1, 1181.3587646484375, -4306.2392578125, 21.29250717163085937, 2.338739633560180664, 0, 0, 0.920504570007324218, 0.3907318115234375, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3767, 179967, 1, 0, 0, 1, 1, 1182.9071044921875, -4270.123046875, 21.1916351318359375, 3.176533222198486328, 0, 0, -0.999847412109375, 0.017469281330704689, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3768, 179967, 1, 0, 0, 1, 1, 1183.828125, -4268.48974609375, 21.1916351318359375, 3.316144466400146484, 0, 0, -0.99619388580322265, 0.087165042757987976, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3769, 179967, 1, 0, 0, 1, 1, 1184.5753173828125, -4308.984375, 21.27497291564941406, 6.03883981704711914, 0, 0, -0.12186908721923828, 0.9925462007522583, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3770, 179967, 1, 0, 0, 1, 1, 1226.517578125, -4288.00048828125, 21.19730567932128906, 2.879789113998413085, 0, 0, 0.991444587707519531, 0.130528271198272705, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3771, 179967, 1, 0, 0, 1, 1, 1228.411376953125, -4286.20263671875, 21.20341873168945312, 1.797688722610473632, 0, 0, 0.7826080322265625, 0.622514784336090087, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3772, 179967, 1, 0, 0, 1, 1, 1230.6875, -4287.712890625, 21.42551231384277343, 3.752462387084960937, 0, 0, -0.95371627807617187, 0.300707906484603881, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3773, 179968, 1, 0, 0, 1, 1, 1176.49658203125, -4354.158203125, 21.29612922668457031, 5.637413978576660156, 0, 0, -0.31730461120605468, 0.948323667049407958, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3774, 179968, 1, 0, 0, 1, 1, 1176.6446533203125, -4356.86376953125, 21.29608726501464843, 1.535889506340026855, 0, 0, 0.694658279418945312, 0.719339847564697265, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3775, 179968, 1, 0, 0, 1, 1, 1177.674072265625, -4360.3642578125, 21.29608726501464843, 3.700104713439941406, 0, 0, -0.96126079559326171, 0.275640487670898437, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3776, 179968, 1, 0, 0, 1, 1, 1178.9898681640625, -4304.6591796875, 21.27920722961425781, 0.104719325900077819, 0, 0, 0.052335739135742187, 0.998629570007324218, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3777, 179968, 1, 0, 0, 1, 1, 1249.4190673828125, -4282.4267578125, 24.33323478698730468, 2.042035102844238281, 0, 0, 0.852640151977539062, 0.522498607635498046, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3778, 179968, 1, 0, 0, 1, 1, 1258.6126708984375, -4282.35791015625, 24.33774757385253906, 1.204277276992797851, 0, 0, 0.56640625, 0.824126183986663818, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3779, 179968, 1, 0, 0, 1, 1, 1259.698486328125, -4279.69140625, 24.33773994445800781, 0.314158439636230468, 0, 0, 0.156434059143066406, 0.987688362598419189, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3780, 179969, 1, 0, 0, 1, 1, 1181.0904541015625, -4304.39013671875, 21.28094863891601562, 0.959929943084716796, 0, 0, 0.461748123168945312, 0.887011110782623291, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3781, 179969, 1, 0, 0, 1, 1, 1181.6207275390625, -4273.7109375, 21.19163703918457031, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3782, 179969, 1, 0, 0, 1, 1, 1186.4869384765625, -4269.5849609375, 21.1916351318359375, 4.345870018005371093, 0, 0, -0.82412624359130859, 0.566406130790710449, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3783, 179969, 1, 0, 0, 1, 1, 1202.6749267578125, -4274.52880859375, 21.19633865356445312, 1.972219824790954589, 0, 0, 0.83388519287109375, 0.55193793773651123, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3784, 179969, 1, 0, 0, 1, 1, 1233.4163818359375, -4296.3173828125, 21.59285545349121093, 5.462882041931152343, 0, 0, -0.39874839782714843, 0.917060375213623046, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3785, 179970, 1, 0, 0, 1, 1, 1180.06640625, -4306.89892578125, 21.29009628295898437, 3.054326534271240234, 0, 0, 0.999048233032226562, 0.043619260191917419, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3786, 179970, 1, 0, 0, 1, 1, 1183.764404296875, -4308.08447265625, 21.26527976989746093, 1.378809213638305664, 0, 0, 0.636077880859375, 0.771624863147735595, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3787, 179970, 1, 0, 0, 1, 1, 1202.457275390625, -4344.73681640625, 21.29608535766601562, 2.600535154342651367, 0, 0, 0.963629722595214843, 0.26724100112915039, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3788, 179970, 1, 0, 0, 1, 1, 1203.825927734375, -4347.09130859375, 21.29608535766601562, 5.84685373306274414, 0, 0, -0.21643924713134765, 0.976296067237854003, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3789, 179970, 1, 0, 0, 1, 1, 1204.73291015625, -4273.06103515625, 21.19443893432617187, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3790, 179970, 1, 0, 0, 1, 1, 1232.15185546875, -4295.35498046875, 21.5887298583984375, 5.201082706451416015, 0, 0, -0.51503753662109375, 0.857167601585388183, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3791, 179972, 1, 0, 0, 1, 1, 1179.7274169921875, -4356.68798828125, 21.29611015319824218, 2.268925428390502929, 0, 0, 0.906307220458984375, 0.422619491815567016, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3792, 179972, 1, 0, 0, 1, 1, 1181.4752197265625, -4308.53759765625, 21.27838134765625, 4.607671737670898437, 0, 0, -0.74314403533935546, 0.669131457805633544, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3793, 179972, 1, 0, 0, 1, 1, 1200.46044921875, -4275.783203125, 21.19213485717773437, 2.565631866455078125, 0, 0, 0.958819389343261718, 0.284016460180282592, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3794, 179972, 1, 0, 0, 1, 1, 1202.5386962890625, -4341.82373046875, 21.29608535766601562, 1.448621988296508789, 0, 0, 0.662619590759277343, 0.748956084251403808, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3795, 179972, 1, 0, 0, 1, 1, 1226.129150390625, -4284.15185546875, 21.19164466857910156, 2.426007747650146484, 0, 0, 0.936672210693359375, 0.350207358598709106, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3796, 179972, 1, 0, 0, 1, 1, 1236.142822265625, -4297.2216796875, 21.42418479919433593, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3797, 179973, 1, 0, 0, 1, 1, 1183.474365234375, -4306.56103515625, 21.27122688293457031, 3.22885894775390625, 0, 0, -0.99904823303222656, 0.043619260191917419, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3798, 179973, 1, 0, 0, 1, 1, 1200.45068359375, -4273.451171875, 21.2135467529296875, 5.096362113952636718, 0, 0, -0.55919265747070312, 0.829037725925445556, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3799, 179973, 1, 0, 0, 1, 1, 1203.6002197265625, -4271.92041015625, 21.20084762573242187, 3.508116960525512695, 0, 0, -0.98325443267822265, 0.182238012552261352, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3800, 179973, 1, 0, 0, 1, 1, 1204.311767578125, -4344.8759765625, 21.29608726501464843, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3801, 179973, 1, 0, 0, 1, 1, 1224.6070556640625, -4286.3173828125, 21.19164466857910156, 5.288348197937011718, 0, 0, -0.4771585464477539, 0.878817260265350341, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3802, 179973, 1, 0, 0, 1, 1, 1234.0435791015625, -4294.390625, 21.73000335693359375, 1.815141916275024414, 0, 0, 0.788010597229003906, 0.615661680698394775, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3803, 179977, 1, 0, 0, 1, 1, 1185.3365478515625, -4307.01416015625, 21.25037002563476562, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3804, 179977, 1, 0, 0, 1, 1, 1192.3175048828125, -4272.1376953125, 21.19159317016601562, 2.932138919830322265, 0, 0, 0.994521141052246093, 0.104535527527332305, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3805, 179977, 1, 0, 0, 1, 1, 1206.531982421875, -4343.76220703125, 21.29608535766601562, 6.056293010711669921, 0, 0, -0.11320304870605468, 0.993571877479553222, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3806, 180007, 1, 0, 0, 1, 1, 1176.6636962890625, -4256.9140625, 21.97882270812988281, 5.864306926727294921, 0, 0, -0.20791149139404296, 0.978147625923156738, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3807, 180007, 1, 0, 0, 1, 1, 1179.6297607421875, -4376.29150390625, 26.23531532287597656, 2.076939344406127929, 0, 0, 0.861628532409667968, 0.50753939151763916, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3808, 180007, 1, 0, 0, 1, 1, 1179.998291015625, -4283.64404296875, 21.14358901977539062, 5.253442287445068359, 0, 0, -0.49242305755615234, 0.870355963706970214, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3809, 180007, 1, 0, 0, 1, 1, 1183.0694580078125, -4333.74853515625, 21.24088096618652343, 4.747295856475830078, 0, 0, -0.69465827941894531, 0.719339847564697265, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3810, 180007, 1, 0, 0, 1, 1, 1191.7110595703125, -4381.18310546875, 23.86879730224609375, 2.967041015625, 0, 0, 0.996193885803222656, 0.087165042757987976, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3811, 180007, 1, 0, 0, 1, 1, 1210.21826171875, -4260.98681640625, 21.19163894653320312, 2.111847877502441406, 0, 0, 0.870355606079101562, 0.492423713207244873, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3812, 180007, 1, 0, 0, 1, 1, 1235.71533203125, -4307.68212890625, 21.12670326232910156, 2.426007747650146484, 0, 0, 0.936672210693359375, 0.350207358598709106, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3813, 180007, 1, 0, 0, 1, 1, 1260.8443603515625, -4376.15087890625, 28.54974746704101562, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3814, 180026, 1, 0, 0, 1, 1, 1179.9296875, -4392.0830078125, 22.49359703063964843, 2.687806606292724609, 0, 0, 0.974370002746582031, 0.224951311945915222, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3815, 180026, 1, 0, 0, 1, 1, 1245.5703125, -4391.6962890625, 28.22939872741699218, 3.298687219619750976, 0, 0, -0.99691677093505859, 0.078466430306434631, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3816, 180046, 1, 0, 0, 1, 1, 1179.8936767578125, -4315.935546875, 21.29486846923828125, 4.991643905639648437, 0, 0, -0.60181427001953125, 0.798636078834533691, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3817, 180046, 1, 0, 0, 1, 1, 1193.9249267578125, -4272.9072265625, 21.19159507751464843, 4.171337604522705078, 0, 0, -0.87035560607910156, 0.492423713207244873, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3818, 180046, 1, 0, 0, 1, 1, 1204.724853515625, -4313.37353515625, 21.28537750244140625, 0.750490784645080566, 0, 0, 0.3665008544921875, 0.93041771650314331, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3819, 180046, 1, 0, 0, 1, 1, 1206.8466796875, -4301.72998046875, 21.24626922607421875, 4.293513298034667968, 0, 0, -0.8386697769165039, 0.544640243053436279, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3820, 180047, 1, 0, 0, 1, 1, 1178.5738525390625, -4327.244140625, 21.29608726501464843, 3.78736734390258789, 0, 0, -0.94832324981689453, 0.317305892705917358, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3821, 180047, 1, 0, 0, 1, 1, 1204.7349853515625, -4301.52587890625, 21.23160934448242187, 5.148722648620605468, 0, 0, -0.53729915618896484, 0.843391716480255126, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3822, 180052, 1, 0, 0, 1, 1, 1182.305419921875, -4272.55908203125, 21.19163703918457031, 2.914689540863037109, 0, 0, 0.993571281433105468, 0.113208353519439697, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3823, 180353, 1, 0, 0, 1, 1, 1174.0538330078125, -4265.5224609375, 21.27764320373535156, 2.879789113998413085, 0, 0, 0.991444587707519531, 0.130528271198272705, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3824, 180353, 1, 0, 0, 1, 1, 1177.5828857421875, -4393.173828125, 22.46704292297363281, 0.226892471313476562, 0, 0, 0.113203048706054687, 0.993571877479553222, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3825, 180353, 1, 0, 0, 1, 1, 1179.5260009765625, -4326.048828125, 21.24143218994140625, 4.014260292053222656, 0, 0, -0.90630722045898437, 0.422619491815567016, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3826, 180353, 1, 0, 0, 1, 1, 1212.866943359375, -4260.33251953125, 21.30665397644042968, 4.59021615982055664, 0, 0, -0.74895572662353515, 0.662620067596435546, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3827, 180353, 1, 0, 0, 1, 1, 1224.5260009765625, -4349.67041015625, 21.22219657897949218, 5.969027042388916015, 0, 0, -0.1564340591430664, 0.987688362598419189, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3828, 180353, 1, 0, 0, 1, 1, 1236.6822509765625, -4301.87353515625, 21.16509056091308593, 4.258606910705566406, 0, 0, -0.84804725646972656, 0.529920578002929687, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3829, 180353, 1, 0, 0, 1, 1, 1246.6956787109375, -4390.35205078125, 28.30716514587402343, 5.288348197937011718, 0, 0, -0.4771585464477539, 0.878817260265350341, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3830, 186217, 1, 0, 0, 1, 1, 1179.482421875, -4391.8017578125, 22.47848320007324218, 4.956737518310546875, 0, 0, -0.61566066741943359, 0.788011372089385986, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3831, 186217, 1, 0, 0, 1, 1, 1245.63720703125, -4392.46826171875, 28.18994903564453125, 2.129300594329833984, 0, 0, 0.874619483947753906, 0.484810054302215576, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3832, 186683, 1, 0, 0, 1, 1, 1225.5863037109375, -4276.587890625, 21.19164466857910156, 5.148722648620605468, 0, 0, -0.53729915618896484, 0.843391716480255126, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3833, 186717, 1, 0, 0, 1, 1, 1182.5052490234375, -4391.01904296875, 22.70993804931640625, 4.904376029968261718, 0, 0, -0.636077880859375, 0.771624863147735595, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3834, 186717, 1, 0, 0, 1, 1, 1243.0361328125, -4392.20703125, 28.09830284118652343, 5.235987663269042968, 0, 0, -0.5, 0.866025388240814208, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3835, 186717, 1, 0, 0, 1, 1, 1302.564208984375, -4501.88916015625, 23.39440536499023437, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3836, 186717, 1, 0, 0, 1, 1, 1315.9405517578125, -4397.97119140625, 26.30713844299316406, 1.919861555099487304, 0, 0, 0.819151878356933593, 0.573576688766479492, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3837, 186737, 1, 0, 0, 1, 1, 1172.0546875, -4308.54443359375, 21.22587776184082031, 2.548179388046264648, 0, 0, 0.956304550170898437, 0.292372345924377441, 120, 255, 1, "", 50664, NULL),
|
||||||
|
(3838, 186737, 1, 0, 0, 1, 1, 1192.3134765625, -4266.04443359375, 21.19163703918457031, 1.151916384696960449, 0, 0, 0.544638633728027343, 0.838670849800109863, 120, 255, 1, "", 50664, NULL);
|
||||||
|
|
||||||
|
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 91) AND (`guid` IN (3763, 3764, 3765, 3766, 3767, 3768, 3769, 3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3782, 3783, 3784, 3785, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798, 3799, 3800, 3801, 3802, 3803, 3804, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3824, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 3834, 3835, 3836, 3837, 3838));
|
||||||
|
INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES
|
||||||
|
(91, 3763),
|
||||||
|
(91, 3764),
|
||||||
|
(91, 3765),
|
||||||
|
(91, 3766),
|
||||||
|
(91, 3767),
|
||||||
|
(91, 3768),
|
||||||
|
(91, 3769),
|
||||||
|
(91, 3770),
|
||||||
|
(91, 3771),
|
||||||
|
(91, 3772),
|
||||||
|
(91, 3773),
|
||||||
|
(91, 3774),
|
||||||
|
(91, 3775),
|
||||||
|
(91, 3776),
|
||||||
|
(91, 3777),
|
||||||
|
(91, 3778),
|
||||||
|
(91, 3779),
|
||||||
|
(91, 3780),
|
||||||
|
(91, 3781),
|
||||||
|
(91, 3782),
|
||||||
|
(91, 3783),
|
||||||
|
(91, 3784),
|
||||||
|
(91, 3785),
|
||||||
|
(91, 3786),
|
||||||
|
(91, 3787),
|
||||||
|
(91, 3788),
|
||||||
|
(91, 3789),
|
||||||
|
(91, 3790),
|
||||||
|
(91, 3791),
|
||||||
|
(91, 3792),
|
||||||
|
(91, 3793),
|
||||||
|
(91, 3794),
|
||||||
|
(91, 3795),
|
||||||
|
(91, 3796),
|
||||||
|
(91, 3797),
|
||||||
|
(91, 3798),
|
||||||
|
(91, 3799),
|
||||||
|
(91, 3800),
|
||||||
|
(91, 3801),
|
||||||
|
(91, 3802),
|
||||||
|
(91, 3803),
|
||||||
|
(91, 3804),
|
||||||
|
(91, 3805),
|
||||||
|
(91, 3806),
|
||||||
|
(91, 3807),
|
||||||
|
(91, 3808),
|
||||||
|
(91, 3809),
|
||||||
|
(91, 3810),
|
||||||
|
(91, 3811),
|
||||||
|
(91, 3812),
|
||||||
|
(91, 3813),
|
||||||
|
(91, 3814),
|
||||||
|
(91, 3815),
|
||||||
|
(91, 3816),
|
||||||
|
(91, 3817),
|
||||||
|
(91, 3818),
|
||||||
|
(91, 3819),
|
||||||
|
(91, 3820),
|
||||||
|
(91, 3821),
|
||||||
|
(91, 3822),
|
||||||
|
(91, 3823),
|
||||||
|
(91, 3824),
|
||||||
|
(91, 3825),
|
||||||
|
(91, 3826),
|
||||||
|
(91, 3827),
|
||||||
|
(91, 3828),
|
||||||
|
(91, 3829),
|
||||||
|
(91, 3830),
|
||||||
|
(91, 3831),
|
||||||
|
(91, 3832),
|
||||||
|
(91, 3833),
|
||||||
|
(91, 3834),
|
||||||
|
(91, 3835),
|
||||||
|
(91, 3836),
|
||||||
|
(91, 3837),
|
||||||
|
(91, 3838);
|
||||||
|
|
||||||
|
-- despawn mobs in the area
|
||||||
|
DELETE FROM `game_event_creature` WHERE (`eventEntry` = -91) AND (`guid` IN (12372, 24976, 22473, 6507, 6509, 6510, 6511, 12369, 12379, 21020, 21022, 21024, 21026, 21034, 21036, 7369, 7370, 12386, 22181, 22188, 22451));
|
||||||
|
INSERT INTO `game_event_creature` (`eventEntry`,`guid`) VALUES
|
||||||
|
-- Adder
|
||||||
|
(-91, 12372),
|
||||||
|
(-91, 24976),
|
||||||
|
-- Corrupted Bloodtalon Scythemaw
|
||||||
|
(-91, 22473),
|
||||||
|
-- Elder Mottled Boar
|
||||||
|
(-91, 6507),
|
||||||
|
(-91, 6509),
|
||||||
|
(-91, 6510),
|
||||||
|
(-91, 6511),
|
||||||
|
(-91, 12369),
|
||||||
|
(-91, 12379),
|
||||||
|
(-91, 21020),
|
||||||
|
(-91, 21022),
|
||||||
|
(-91, 21024),
|
||||||
|
(-91, 21026),
|
||||||
|
(-91, 21034),
|
||||||
|
(-91, 21036),
|
||||||
|
-- Venomtail Scorpid
|
||||||
|
(-91, 7369),
|
||||||
|
(-91, 7370),
|
||||||
|
(-91, 12386),
|
||||||
|
(-91, 22181),
|
||||||
|
(-91, 22188),
|
||||||
|
-- Corrupted Mottled Boar
|
||||||
|
(-91, 22451);
|
||||||
|
|
||||||
|
-- Update creature 'Brewfest Building (Orgrimmar)' with sniffed values
|
||||||
|
-- new spawns
|
||||||
|
DELETE FROM `creature` WHERE (`id1` IN (23504)) AND (`guid` IN (12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776));
|
||||||
|
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
|
||||||
|
(12768, 23504, 1, 1, 1, 1, 1176.0369873046875, -4255.9814453125, 22.21631431579589843, 5.270894527435302734, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||||
|
(12769, 23504, 1, 1, 1, 1, 1179.4427490234375, -4284.61474609375, 21.28194046020507812, 1.029744267463684082, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||||
|
(12770, 23504, 1, 1, 1, 1, 1180.81787109375, -4376.79443359375, 26.24557113647460937, 2.832220315933227539, 120, 0, 0, 0, 0, 0, "", 50664, 1, "GUID SAI"),
|
||||||
|
(12771, 23504, 1, 1, 1, 0, 1181.4923095703125, -4355.63916015625, 21.42108535766601562, 4.023062705993652343, 120, 0, 0, 0, 0, 0, "", 50664, 1, "GUID SAI"),
|
||||||
|
(12772, 23504, 1, 1, 1, 1, 1182.0416259765625, -4332.8818359375, 21.37387275695800781, 5.759586334228515625, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||||
|
(12773, 23504, 1, 1, 1, 0, 1183.577880859375, -4304.1298828125, 21.31663703918457031, 4.184878826141357421, 120, 0, 0, 0, 0, 0, "", 50664, 1, "GUID SAI"),
|
||||||
|
(12774, 23504, 1, 1, 1, 1, 1209.23681640625, -4261.87890625, 21.27497291564941406, 0.92502450942993164, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||||
|
(12775, 23504, 1, 1, 1, 1, 1234.40283203125, -4307.765625, 21.25117683410644531, 6.143558979034423828, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||||
|
(12776, 23504, 1, 1, 1, 1, 1259.862548828125, -4377.77001953125, 28.61495018005371093, 1.047197580337524414, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL);
|
||||||
|
|
||||||
|
DELETE FROM `game_event_creature` WHERE (`eventEntry` = 91) AND (`guid` IN (12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776));
|
||||||
|
INSERT INTO `game_event_creature` (`eventEntry`,`guid`) VALUES
|
||||||
|
(91, 12768),
|
||||||
|
(91, 12769),
|
||||||
|
(91, 12770),
|
||||||
|
(91, 12771),
|
||||||
|
(91, 12772),
|
||||||
|
(91, 12773),
|
||||||
|
(91, 12774),
|
||||||
|
(91, 12775),
|
||||||
|
(91, 12776);
|
||||||
|
|
||||||
|
-- update auras
|
||||||
|
DELETE FROM `creature_addon` WHERE (`guid` IN (12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776));
|
||||||
|
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
|
||||||
|
(12768, 0, 0, 0, 0, 234, 0, '43992'),
|
||||||
|
(12769, 0, 0, 0, 0, 234, 0, '43992'),
|
||||||
|
(12770, 0, 0, 0, 0, 0, 0, '43992'),
|
||||||
|
(12771, 0, 0, 0, 0, 0, 0, '43992'),
|
||||||
|
(12772, 0, 0, 0, 0, 234, 0, '43992'),
|
||||||
|
(12773, 0, 0, 0, 0, 0, 0, '43992'),
|
||||||
|
(12774, 0, 0, 0, 0, 234, 0, '43992'),
|
||||||
|
(12775, 0, 0, 0, 0, 234, 0, '43992'),
|
||||||
|
(12776, 0, 0, 0, 0, 234, 0, '43992');
|
||||||
|
|
||||||
|
-- update equipment
|
||||||
|
DELETE FROM `creature_equip_template` WHERE `CreatureID` = 23504;
|
||||||
|
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
|
||||||
|
(23504, 1, 5292, 0, 0, 50664);
|
||||||
|
|
||||||
|
-- Pathing for Entry: 23504
|
||||||
|
SET @NPC := 12771;
|
||||||
|
SET @PATH := @NPC * 10;
|
||||||
|
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2 WHERE `guid`=@NPC;
|
||||||
|
UPDATE `creature_addon` SET `path_id` = @PATH WHERE `guid` = @NPC;
|
||||||
|
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||||
|
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||||
|
(@PATH,1 ,1220.4547,-4334.2886,21.31665,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,2 ,1227.7362,-4310.514,21.316643,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,3 ,1233.6675,-4298.053,21.441637,NULL,15000,0,0,100,0),
|
||||||
|
(@PATH,4 ,1233.6675,-4298.053,21.441637,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,5 ,1224.0404,-4319.1245,21.316643,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,6 ,1203.6339,-4335.0293,21.31665,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,7 ,1191.6898,-4343.2666,21.421085,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,8 ,1181.4923,-4355.639,21.421085,NULL,10000,0,0,100,0),
|
||||||
|
(@PATH,9 ,1181.4923,-4355.639,21.421085,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,10,1204.1326,-4348.952,21.31665,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,11,1204.1326,-4348.952,21.31665,1.762782573699951171,20000,0,0,100,0),
|
||||||
|
(@PATH,12,1204.1326,-4348.952,21.31665,1.762782573699951171,0,0,0,100,0);
|
||||||
|
|
||||||
|
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -12771);
|
||||||
|
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||||
|
(-12771, 0, 1000, 0, 108, 0, 100, 0, 3, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 3 of Path Any Reached - Set Emote State 133'),
|
||||||
|
(-12771, 0, 1001, 0, 108, 0, 100, 0, 4, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 4 of Path Any Reached - Set Emote State 0'),
|
||||||
|
(-12771, 0, 1002, 0, 108, 0, 100, 0, 8, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 8 of Path Any Reached - Set Emote State 133'),
|
||||||
|
(-12771, 0, 1003, 0, 108, 0, 100, 0, 9, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 9 of Path Any Reached - Set Emote State 0'),
|
||||||
|
(-12771, 0, 1004, 0, 108, 0, 100, 0, 11, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 11 of Path Any Reached - Set Emote State 133'),
|
||||||
|
(-12771, 0, 1005, 0, 108, 0, 100, 0, 12, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 12 of Path Any Reached - Set Emote State 0');
|
||||||
|
|
||||||
|
SET @NPC := 12773;
|
||||||
|
SET @PATH := @NPC * 10;
|
||||||
|
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2 WHERE `guid`=@NPC;
|
||||||
|
UPDATE `creature_addon` SET `path_id` = @PATH WHERE `guid` = @NPC;
|
||||||
|
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||||
|
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||||
|
(@PATH,1 ,1183.3735,-4283.522,21.270655,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,2 ,1191.225,-4284.0986,21.270655,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,3 ,1199.2571,-4277.2163,21.270655,NULL,15000,0,0,100,0),
|
||||||
|
(@PATH,4 ,1199.2571,-4277.2163,21.270655,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,5 ,1183.5779,-4304.13,21.316637,NULL,20000,0,0,100,0),
|
||||||
|
(@PATH,6 ,1183.5779,-4304.13,21.316637,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,7 ,1184.7842,-4284.5176,21.270655,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,8 ,1179.4281,-4278.2236,21.270655,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,9 ,1180.4791,-4275.776,21.270655,NULL,15000,0,0,100,0),
|
||||||
|
(@PATH,10,1180.4791,-4275.776,21.270655,NULL,0,0,0,100,0);
|
||||||
|
|
||||||
|
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -12773);
|
||||||
|
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||||
|
(-12773, 0, 1000, 0, 108, 0, 100, 0, 3, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 3 of Path Any Reached - Set Emote State 133'),
|
||||||
|
(-12773, 0, 1001, 0, 108, 0, 100, 0, 4, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 4 of Path Any Reached - Set Emote State 0'),
|
||||||
|
(-12773, 0, 1002, 0, 108, 0, 100, 0, 5, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 5 of Path Any Reached - Set Emote State 133'),
|
||||||
|
(-12773, 0, 1003, 0, 108, 0, 100, 0, 6, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 6 of Path Any Reached - Set Emote State 0'),
|
||||||
|
(-12773, 0, 1004, 0, 108, 0, 100, 0, 9, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 9 of Path Any Reached - Set Emote State 133'),
|
||||||
|
(-12773, 0, 1005, 0, 108, 0, 100, 0, 10, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 10 of Path Any Reached - Set Emote State 0');
|
||||||
|
|
||||||
|
SET @NPC := 12770;
|
||||||
|
SET @PATH := @NPC * 10;
|
||||||
|
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2 WHERE `guid`=@NPC;
|
||||||
|
UPDATE `creature_addon` SET `path_id` = @PATH WHERE `guid` = @NPC;
|
||||||
|
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||||
|
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||||
|
(@PATH,1,1193.0723,-4380.715,24.006937,NULL,30000,0,0,100,0),
|
||||||
|
(@PATH,2,1193.0723,-4380.715,24.006937,NULL,0,0,0,100,0),
|
||||||
|
(@PATH,3,1180.8179,-4376.7944,26.245571,NULL,30000,0,0,100,0),
|
||||||
|
(@PATH,4,1180.8179,-4376.7944,26.245571,NULL,0,0,0,100,0);
|
||||||
|
|
||||||
|
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -12770);
|
||||||
|
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||||
|
(-12770, 0, 1000, 1001, 108, 0, 100, 0, 1, 0, 0, 0, 0, 0, 17, 234, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 1 of Path Any Reached - Set Emote State 234'),
|
||||||
|
(-12770, 0, 1001, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 20, 180007, 10, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 1 of Path Any Reached - Set Orientation Closest Gameobject \'Excavation Stake\''),
|
||||||
|
(-12770, 0, 1002, 0, 108, 0, 100, 0, 2, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 2 of Path Any Reached - Set Emote State 0'),
|
||||||
|
(-12770, 0, 1003, 1004, 108, 0, 100, 0, 3, 0, 0, 0, 0, 0, 17, 234, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 3 of Path Any Reached - Set Emote State 234'),
|
||||||
|
(-12770, 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 20, 180007, 10, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 3 of Path Any Reached - Set Orientation Closest Gameobject \'Excavation Stake\''),
|
||||||
|
(-12770, 0, 1005, 0, 108, 0, 100, 0, 4, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On Point 4 of Path Any Reached - Set Emote State 0');
|
||||||
Reference in New Issue
Block a user