mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-27 22:16:11 +00:00
fix(DB/game_event): Brewfest Building (Ironforge) (#24527)
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:
307
data/sql/updates/pending_db_world/rev_1769462581164552400.sql
Normal file
307
data/sql/updates/pending_db_world/rev_1769462581164552400.sql
Normal file
@@ -0,0 +1,307 @@
|
||||
-- update game event
|
||||
UPDATE `game_event` SET `description` = "Brewfest Building (Ironforge)" WHERE `eventEntry` = 70;
|
||||
|
||||
-- Update gameobject 'Brewfest Building (Ironforge)' with sniffed values
|
||||
-- updated spawns
|
||||
DELETE FROM `gameobject` WHERE (`id` IN (186737, 186717, 180052, 186217, 180026)) AND (`guid` IN (66860, 66861, 66862, 66863, 66864, 66865, 66866, 66867, 66868, 66869, 66870, 66871));
|
||||
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
|
||||
(66860, 186737, 0, 0, 0, 1, 1, -5188.759765625, -594.41571044921875, 397.176177978515625, 5.096362113952636718, 0, 0, -0.55919265747070312, 0.829037725925445556, 120, 255, 1, "", 50664, NULL),
|
||||
(66861, 186737, 0, 0, 0, 1, 1, -5140.78173828125, -578.31964111328125, 397.176177978515625, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, "", 50664, NULL),
|
||||
(66862, 186737, 0, 0, 0, 1, 1, -5155.751953125, -635.501953125, 397.1766357421875, 1.797688722610473632, 0, 0, 0.7826080322265625, 0.622514784336090087, 120, 255, 1, "", 50664, NULL),
|
||||
(66863, 186717, 0, 0, 0, 1, 1, -5209.8369140625, -459.36285400390625, 386.537017822265625, 2.565631866455078125, 0, 0, 0.958819389343261718, 0.284016460180282592, 120, 255, 1, "", 50664, NULL),
|
||||
(66864, 186717, 0, 0, 0, 1, 1, -5226.5390625, -479.025665283203125, 386.5343017578125, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, "", 50664, NULL),
|
||||
(66865, 186717, 0, 0, 0, 1, 1, -5233.375, -482.2637939453125, 386.3370361328125, 1.919861555099487304, 0, 0, 0.819151878356933593, 0.573576688766479492, 120, 255, 1, "", 50664, NULL),
|
||||
(66866, 186717, 0, 0, 0, 1, 1, -5206.923828125, -452.243072509765625, 386.807891845703125, 3.019413232803344726, 0, 0, 0.998134613037109375, 0.061051756143569946, 120, 255, 1, "", 50664, NULL),
|
||||
(66867, 180052, 0, 0, 0, 1, 1, -5175.2998046875, -625.16534423828125, 397.176177978515625, 2.914689540863037109, 0, 0, 0.993571281433105468, 0.113208353519439697, 120, 255, 1, "", 50664, NULL),
|
||||
(66868, 186217, 0, 0, 0, 1, 1, -5208.20947265625, -456.07220458984375, 386.74652099609375, 2.70525527000427246, 0, 0, 0.97629547119140625, 0.216442063450813293, 120, 255, 1, "", 50664, NULL),
|
||||
(66869, 186217, 0, 0, 0, 1, 1, -5230.0302734375, -480.293365478515625, 386.399810791015625, 2.129300594329833984, 0, 0, 0.874619483947753906, 0.484810054302215576, 120, 255, 1, "", 50664, NULL),
|
||||
(66870, 180026, 0, 0, 0, 1, 1, -5208.1025390625, -455.9600830078125, 386.514923095703125, 3.298687219619750976, 0, 0, -0.99691677093505859, 0.078466430306434631, 120, 255, 1, "", 50664, NULL),
|
||||
(66871, 180026, 0, 0, 0, 1, 1, -5229.85791015625, -480.2882080078125, 386.363250732421875, 2.687806606292724609, 0, 0, 0.974370002746582031, 0.224951311945915222, 120, 255, 1, "", 50664, NULL);
|
||||
|
||||
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 70) AND (`guid` IN (66860, 66861, 66862, 66863, 66864, 66865, 66866, 66867, 66868, 66869, 66870, 66871));
|
||||
INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES
|
||||
(70, 66860),
|
||||
(70, 66861),
|
||||
(70, 66862),
|
||||
(70, 66863),
|
||||
(70, 66864),
|
||||
(70, 66865),
|
||||
(70, 66866),
|
||||
(70, 66867),
|
||||
(70, 66868),
|
||||
(70, 66869),
|
||||
(70, 66870),
|
||||
(70, 66871);
|
||||
|
||||
-- new spawns
|
||||
DELETE FROM `gameobject` WHERE (`id` IN (178666, 179967, 179968, 179969, 179970, 179972, 179973, 179977, 180007, 180046, 180047, 180353, 186683)) AND (`guid` IN (3839, 3840, 3841, 3842, 3843, 3844, 3845, 3846, 3847, 3848, 3849, 3850, 3851, 3852, 3853, 3854, 3855, 3856, 3857, 3858, 3859, 3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, 3895, 3896, 3897, 3898, 3899, 3900, 3901, 3902, 3903));
|
||||
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
|
||||
(3839, 178666, 0, 0, 0, 1, 1, -5147.7939453125, -607.88812255859375, 398.5308837890625, 4.1538848876953125, 0, 0, -0.8746194839477539, 0.484810054302215576, 120, 255, 1, "", 50664, NULL),
|
||||
(3840, 178666, 0, 0, 0, 1, 1, -5151.845703125, -599.5625, 398.12542724609375, 5.93412017822265625, 0, 0, -0.17364788055419921, 0.984807789325714111, 120, 255, 1, "", 50664, NULL),
|
||||
(3841, 178666, 0, 0, 0, 1, 1, -5157.3115234375, -606.39385986328125, 398.266204833984375, 1.762782454490661621, 0, 0, 0.771624565124511718, 0.636078238487243652, 120, 255, 1, "", 50664, NULL),
|
||||
(3842, 179967, 0, 0, 0, 1, 1, -5133.91552734375, -587.81378173828125, 397.17620849609375, 3.316144466400146484, 0, 0, -0.99619388580322265, 0.087165042757987976, 120, 255, 1, "", 50664, NULL),
|
||||
(3843, 179967, 0, 0, 0, 1, 1, -5134.89013671875, -586.86065673828125, 397.176177978515625, 2.338739633560180664, 0, 0, 0.920504570007324218, 0.3907318115234375, 120, 255, 1, "", 50664, NULL),
|
||||
(3844, 179967, 0, 0, 0, 1, 1, -5142.607421875, -634.46307373046875, 397.176788330078125, 3.752462387084960937, 0, 0, -0.95371627807617187, 0.300707906484603881, 120, 255, 1, "", 50664, NULL),
|
||||
(3845, 179967, 0, 0, 0, 1, 1, -5143.60009765625, -634.90350341796875, 397.17681884765625, 6.03883981704711914, 0, 0, -0.12186908721923828, 0.9925462007522583, 120, 255, 1, "", 50664, NULL),
|
||||
(3846, 179967, 0, 0, 0, 1, 1, -5155.82666015625, -570.051025390625, 397.176177978515625, 1.797688722610473632, 0, 0, 0.7826080322265625, 0.622514784336090087, 120, 255, 1, "", 50664, NULL),
|
||||
(3847, 179967, 0, 0, 0, 1, 1, -5173.16943359375, -624.42315673828125, 397.176177978515625, 2.879789113998413085, 0, 0, 0.991444587707519531, 0.130528271198272705, 120, 255, 1, "", 50664, NULL),
|
||||
(3848, 179967, 0, 0, 0, 1, 1, -5174.89013671875, -623.0726318359375, 397.176177978515625, 3.176533222198486328, 0, 0, -0.999847412109375, 0.017469281330704689, 120, 255, 1, "", 50664, NULL),
|
||||
(3849, 179968, 0, 0, 0, 1, 1, -5120.75048828125, -584.50518798828125, 397.176483154296875, 3.700104713439941406, 0, 0, -0.96126079559326171, 0.275640487670898437, 120, 255, 1, "", 50664, NULL),
|
||||
(3850, 179968, 0, 0, 0, 1, 1, -5120.9609375, -583.06915283203125, 397.1778564453125, 1.535889506340026855, 0, 0, 0.694658279418945312, 0.719339847564697265, 120, 255, 1, "", 50664, NULL),
|
||||
(3851, 179968, 0, 0, 0, 1, 1, -5121.9892578125, -585.78521728515625, 397.176239013671875, 2.042035102844238281, 0, 0, 0.852640151977539062, 0.522498607635498046, 120, 255, 1, "", 50664, NULL),
|
||||
(3852, 179968, 0, 0, 0, 1, 1, -5122.4853515625, -584.760498046875, 397.176300048828125, 5.637413978576660156, 0, 0, -0.31730461120605468, 0.948323667049407958, 120, 255, 1, "", 50664, NULL),
|
||||
(3853, 179968, 0, 0, 0, 1, 1, -5142.66015625, -635.97698974609375, 397.176361083984375, 0.104719325900077819, 0, 0, 0.052335739135742187, 0.998629570007324218, 120, 255, 1, "", 50664, NULL),
|
||||
(3854, 179968, 0, 0, 0, 1, 1, -5178.49462890625, -550.72784423828125, 397.176177978515625, 1.204277276992797851, 0, 0, 0.56640625, 0.824126183986663818, 120, 255, 1, "", 50664, NULL),
|
||||
(3855, 179968, 0, 0, 0, 1, 1, -5179.66259765625, -551.6282958984375, 397.176177978515625, 0.314158439636230468, 0, 0, 0.156434059143066406, 0.987688362598419189, 120, 255, 1, "", 50664, NULL),
|
||||
(3856, 179969, 0, 0, 0, 1, 1, -5140.39306640625, -633.5538330078125, 397.17694091796875, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 120, 255, 1, "", 50664, NULL),
|
||||
(3857, 179969, 0, 0, 0, 1, 1, -5141.8134765625, -633.63275146484375, 397.177215576171875, 4.345870018005371093, 0, 0, -0.82412624359130859, 0.566406130790710449, 120, 255, 1, "", 50664, NULL),
|
||||
(3858, 179969, 0, 0, 0, 1, 1, -5143.55615234375, -633.49005126953125, 397.178802490234375, 0.959929943084716796, 0, 0, 0.461748123168945312, 0.887011110782623291, 120, 255, 1, "", 50664, NULL),
|
||||
(3859, 179969, 0, 0, 0, 1, 1, -5154.8193359375, -570.8985595703125, 397.176177978515625, 5.462882041931152343, 0, 0, -0.39874839782714843, 0.917060375213623046, 120, 255, 1, "", 50664, NULL),
|
||||
(3860, 179969, 0, 0, 0, 1, 1, -5174.712890625, -621.16571044921875, 397.176177978515625, 1.972219824790954589, 0, 0, 0.83388519287109375, 0.55193793773651123, 120, 255, 1, "", 50664, NULL),
|
||||
(3861, 179970, 0, 0, 0, 1, 1, -5125.87841796875, -609.6966552734375, 397.693511962890625, 5.201082706451416015, 0, 0, -0.51503753662109375, 0.857167601585388183, 120, 255, 1, "", 50664, NULL),
|
||||
(3862, 179970, 0, 0, 0, 1, 1, -5141.72705078125, -634.87603759765625, 397.176910400390625, 5.84685373306274414, 0, 0, -0.21643924713134765, 0.976296067237854003, 120, 255, 1, "", 50664, NULL),
|
||||
(3863, 179970, 0, 0, 0, 1, 1, -5158.0869140625, -568.03106689453125, 397.176177978515625, 1.378809213638305664, 0, 0, 0.636077880859375, 0.771624863147735595, 120, 255, 1, "", 50664, NULL),
|
||||
(3864, 179970, 0, 0, 0, 1, 1, -5176.87353515625, -621.46600341796875, 397.176177978515625, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 120, 255, 1, "", 50664, NULL),
|
||||
(3865, 179970, 0, 0, 0, 1, 1, -5177.6591796875, -553.73699951171875, 397.176177978515625, 2.600535154342651367, 0, 0, 0.963629722595214843, 0.26724100112915039, 120, 255, 1, "", 50664, NULL),
|
||||
(3866, 179970, 0, 0, 0, 1, 1, -5178.232421875, -552.29864501953125, 397.176177978515625, 3.054326534271240234, 0, 0, 0.999048233032226562, 0.043619260191917419, 120, 255, 1, "", 50664, NULL),
|
||||
(3867, 179972, 0, 0, 0, 1, 1, -5124.74853515625, -611.6973876953125, 397.917449951171875, 1.448621988296508789, 0, 0, 0.662619590759277343, 0.748956084251403808, 120, 255, 1, "", 50664, NULL),
|
||||
(3868, 179972, 0, 0, 0, 1, 1, -5132.57470703125, -587.78375244140625, 397.176177978515625, 4.607671737670898437, 0, 0, -0.74314403533935546, 0.669131457805633544, 120, 255, 1, "", 50664, NULL),
|
||||
(3869, 179972, 0, 0, 0, 1, 1, -5132.58203125, -589.85333251953125, 397.176483154296875, 2.268925428390502929, 0, 0, 0.906307220458984375, 0.422619491815567016, 120, 255, 1, "", 50664, NULL),
|
||||
(3870, 179972, 0, 0, 0, 1, 1, -5151.576171875, -605.25885009765625, 398.4732666015625, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 120, 255, 1, "", 50664, NULL),
|
||||
(3871, 179972, 0, 0, 0, 1, 1, -5153.62646484375, -569.24737548828125, 397.176177978515625, 2.565631866455078125, 0, 0, 0.958819389343261718, 0.284016460180282592, 120, 255, 1, "", 50664, NULL),
|
||||
(3872, 179972, 0, 0, 0, 1, 1, -5156.2060546875, -567.0211181640625, 397.176177978515625, 2.426007747650146484, 0, 0, 0.936672210693359375, 0.350207358598709106, 120, 255, 1, "", 50664, NULL),
|
||||
(3873, 179973, 0, 0, 0, 1, 1, -5134.728515625, -589.3590087890625, 397.176361083984375, 5.096362113952636718, 0, 0, -0.55919265747070312, 0.829037725925445556, 120, 255, 1, "", 50664, NULL),
|
||||
(3874, 179973, 0, 0, 0, 1, 1, -5136.21484375, -588.2298583984375, 397.17620849609375, 1.815141916275024414, 0, 0, 0.788010597229003906, 0.615661680698394775, 120, 255, 1, "", 50664, NULL),
|
||||
(3875, 179973, 0, 0, 0, 1, 1, -5140.60693359375, -635.26824951171875, 397.176513671875, 3.22885894775390625, 0, 0, -0.99904823303222656, 0.043619260191917419, 120, 255, 1, "", 50664, NULL),
|
||||
(3876, 179973, 0, 0, 0, 1, 1, -5156.21142578125, -568.6014404296875, 397.17620849609375, 5.288348197937011718, 0, 0, -0.4771585464477539, 0.878817260265350341, 120, 255, 1, "", 50664, NULL),
|
||||
(3877, 179973, 0, 0, 0, 1, 1, -5176.5712890625, -622.89501953125, 397.176177978515625, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 120, 255, 1, "", 50664, NULL),
|
||||
(3878, 179973, 0, 0, 0, 1, 1, -5201.66552734375, -469.016326904296875, 387.968597412109375, 3.508116960525512695, 0, 0, -0.98325443267822265, 0.182238012552261352, 120, 255, 1, "", 50664, NULL),
|
||||
(3879, 179977, 0, 0, 0, 1, 1, -5179.45166015625, -561.93939208984375, 397.176177978515625, 4.415683269500732421, 0, 0, -0.80385684967041015, 0.594822824001312255, 120, 255, 1, "", 50664, NULL),
|
||||
(3880, 179977, 0, 0, 0, 1, 1, -5195.63720703125, -489.8575439453125, 387.941253662109375, 3.036838293075561523, 0, 0, 0.998628616333007812, 0.052353221923112869, 120, 255, 1, "", 50664, NULL),
|
||||
(3881, 179977, 0, 0, 0, 1, 1, -5201.69384765625, -469.09625244140625, 389.598114013671875, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 120, 255, 1, "", 50664, NULL),
|
||||
(3882, 180007, 0, 0, 0, 1, 1, -5129.5732421875, -617.77410888671875, 397.31353759765625, 4.747295856475830078, 0, 0, -0.69465827941894531, 0.719339847564697265, 120, 255, 1, "", 50664, NULL),
|
||||
(3883, 180007, 0, 0, 0, 1, 1, -5177.41357421875, -564.8096923828125, 397.176177978515625, 2.111847877502441406, 0, 0, 0.870355606079101562, 0.492423713207244873, 120, 255, 1, "", 50664, NULL),
|
||||
(3884, 180007, 0, 0, 0, 1, 1, -5186.525390625, -535.409423828125, 396.412017822265625, 5.864306926727294921, 0, 0, -0.20791149139404296, 0.978147625923156738, 120, 255, 1, "", 50664, NULL),
|
||||
(3885, 180007, 0, 0, 0, 1, 1, -5195.3046875, -487.257537841796875, 387.869720458984375, 2.426007747650146484, 0, 0, 0.936672210693359375, 0.350207358598709106, 120, 255, 1, "", 50664, NULL),
|
||||
(3886, 180007, 0, 0, 0, 1, 1, -5207.337890625, -549.64825439453125, 396.968597412109375, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 120, 255, 1, "", 50664, NULL),
|
||||
(3887, 180007, 0, 0, 0, 1, 1, -5210.072265625, -464.1983642578125, 387.626556396484375, 2.967041015625, 0, 0, 0.996193885803222656, 0.087165042757987976, 120, 255, 1, "", 50664, NULL),
|
||||
(3888, 180007, 0, 0, 0, 1, 1, -5212.25732421875, -503.5504150390625, 388.158538818359375, 2.076939344406127929, 0, 0, 0.861628532409667968, 0.50753939151763916, 120, 255, 1, "", 50664, NULL),
|
||||
(3889, 180007, 0, 0, 0, 1, 1, -5221.97021484375, -479.5455322265625, 386.895782470703125, 5.253442287445068359, 0, 0, -0.49242305755615234, 0.870355963706970214, 120, 255, 1, "", 50664, NULL),
|
||||
(3890, 180046, 0, 0, 0, 1, 1, -5145.6220703125, -608.96112060546875, 398.486663818359375, 5.637413978576660156, 0, 0, -0.31730461120605468, 0.948323667049407958, 120, 255, 1, "", 50664, NULL),
|
||||
(3891, 180046, 0, 0, 0, 1, 1, -5151.392578125, -596.8116455078125, 397.889984130859375, 1.117009282112121582, 0, 0, 0.529918670654296875, 0.84804844856262207, 120, 255, 1, "", 50664, NULL),
|
||||
(3892, 180046, 0, 0, 0, 1, 1, -5160.09716796875, -607.23974609375, 398.097991943359375, 3.52557229995727539, 0, 0, -0.98162651062011718, 0.190812408924102783, 120, 255, 1, "", 50664, NULL),
|
||||
(3893, 180046, 0, 0, 0, 1, 1, -5201.51318359375, -470.827362060546875, 388.036285400390625, 3.368495941162109375, 0, 0, -0.99357128143310546, 0.113208353519439697, 120, 255, 1, "", 50664, NULL),
|
||||
(3894, 180047, 0, 0, 0, 1, 1, -5153.1015625, -604.0982666015625, 398.367340087890625, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, "", 50664, NULL),
|
||||
(3895, 180047, 0, 0, 0, 1, 1, -5200.54833984375, -472.899200439453125, 388.347930908203125, 0.052358884364366531, 0, 0, 0.02617645263671875, 0.999657332897186279, 120, 255, 1, "", 50664, NULL),
|
||||
(3896, 180353, 0, 0, 0, 1, 1, -5152.06884765625, -622.81329345703125, 397.71875, 4.014260292053222656, 0, 0, -0.90630722045898437, 0.422619491815567016, 120, 255, 1, "", 50664, NULL),
|
||||
(3897, 180353, 0, 0, 0, 1, 1, -5152.96337890625, -579.05950927734375, 397.17913818359375, 0.226892471313476562, 0, 0, 0.113203048706054687, 0.993571877479553222, 120, 255, 1, "", 50664, NULL),
|
||||
(3898, 180353, 0, 0, 0, 1, 1, -5178.13134765625, -599.3812255859375, 397.375885009765625, 0.314158439636230468, 0, 0, 0.156434059143066406, 0.987688362598419189, 120, 255, 1, "", 50664, NULL),
|
||||
(3899, 180353, 0, 0, 0, 1, 1, -5206.9130859375, -449.5999755859375, 386.780029296875, 2.879789113998413085, 0, 0, 0.991444587707519531, 0.130528271198272705, 120, 255, 1, "", 50664, NULL),
|
||||
(3900, 180353, 0, 0, 0, 1, 1, -5211.6123046875, -462.171875, 386.502197265625, 0.890116631984710693, 0, 0, 0.430510520935058593, 0.902585566043853759, 120, 255, 1, "", 50664, NULL),
|
||||
(3901, 180353, 0, 0, 0, 1, 1, -5228.52685546875, -479.38525390625, 386.44793701171875, 4.59021615982055664, 0, 0, -0.74895572662353515, 0.662620067596435546, 120, 255, 1, "", 50664, NULL),
|
||||
(3902, 180353, 0, 0, 0, 1, 1, -5232.2861328125, -481.43212890625, 386.35211181640625, 5.969027042388916015, 0, 0, -0.1564340591430664, 0.987688362598419189, 120, 255, 1, "", 50664, NULL),
|
||||
(3903, 186683, 0, 0, 0, 1, 1, -5165.91259765625, -549.84429931640625, 397.176177978515625, 2.914689540863037109, 0, 0, 0.993571281433105468, 0.113208353519439697, 120, 255, 1, "", 50664, NULL);
|
||||
|
||||
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 70) AND (`guid` IN (3839, 3840, 3841, 3842, 3843, 3844, 3845, 3846, 3847, 3848, 3849, 3850, 3851, 3852, 3853, 3854, 3855, 3856, 3857, 3858, 3859, 3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, 3895, 3896, 3897, 3898, 3899, 3900, 3901, 3902, 3903));
|
||||
INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) VALUES
|
||||
(70, 3839),
|
||||
(70, 3840),
|
||||
(70, 3841),
|
||||
(70, 3842),
|
||||
(70, 3843),
|
||||
(70, 3844),
|
||||
(70, 3845),
|
||||
(70, 3846),
|
||||
(70, 3847),
|
||||
(70, 3848),
|
||||
(70, 3849),
|
||||
(70, 3850),
|
||||
(70, 3851),
|
||||
(70, 3852),
|
||||
(70, 3853),
|
||||
(70, 3854),
|
||||
(70, 3855),
|
||||
(70, 3856),
|
||||
(70, 3857),
|
||||
(70, 3858),
|
||||
(70, 3859),
|
||||
(70, 3860),
|
||||
(70, 3861),
|
||||
(70, 3862),
|
||||
(70, 3863),
|
||||
(70, 3864),
|
||||
(70, 3865),
|
||||
(70, 3866),
|
||||
(70, 3867),
|
||||
(70, 3868),
|
||||
(70, 3869),
|
||||
(70, 3870),
|
||||
(70, 3871),
|
||||
(70, 3872),
|
||||
(70, 3873),
|
||||
(70, 3874),
|
||||
(70, 3875),
|
||||
(70, 3876),
|
||||
(70, 3877),
|
||||
(70, 3878),
|
||||
(70, 3879),
|
||||
(70, 3880),
|
||||
(70, 3881),
|
||||
(70, 3882),
|
||||
(70, 3883),
|
||||
(70, 3884),
|
||||
(70, 3885),
|
||||
(70, 3886),
|
||||
(70, 3887),
|
||||
(70, 3888),
|
||||
(70, 3889),
|
||||
(70, 3890),
|
||||
(70, 3891),
|
||||
(70, 3892),
|
||||
(70, 3893),
|
||||
(70, 3894),
|
||||
(70, 3895),
|
||||
(70, 3896),
|
||||
(70, 3897),
|
||||
(70, 3898),
|
||||
(70, 3899),
|
||||
(70, 3900),
|
||||
(70, 3901),
|
||||
(70, 3902),
|
||||
(70, 3903);
|
||||
|
||||
-- Update creature 'Brewfest Building (Ironforge)' with sniffed values
|
||||
-- new spawns
|
||||
DELETE FROM `creature` WHERE (`id1` IN (23504)) AND (`guid` IN (12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828));
|
||||
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
|
||||
(12820, 23504, 0, 1, 1, 1, -5130.50634765625, -619.58343505859375, 397.336334228515625, 1.448623299598693847, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||
(12821, 23504, 0, 1, 1, 0, -5169.5498046875, -561.426513671875, 397.289520263671875, 2.513752937316894531, 120, 0, 0, 0, 0, 0, "", 50664, 1, "GUID SAI"),
|
||||
(12822, 23504, 0, 1, 1, 0, -5172.8818359375, -622.4075927734375, 397.301177978515625, 3.694555997848510742, 120, 0, 0, 0, 0, 0, "", 50664, 1, "GUID SAI"),
|
||||
(12823, 23504, 0, 1, 1, 1, -5178.921875, -565.07354736328125, 397.259521484375, 0.349065840244293212, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||
(12824, 23504, 0, 1, 1, 1, -5186.578125, -533.9503173828125, 396.050445556640625, 5.044001579284667968, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||
(12825, 23504, 0, 1, 1, 1, -5197.08056640625, -487.789215087890625, 388.21221923828125, 0.226892799139022827, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||
(12826, 23504, 0, 1, 1, 1, -5206.8115234375, -550.51776123046875, 397.272247314453125, 2.146754980087280273, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||
(12827, 23504, 0, 1, 1, 1, -5211.03173828125, -503.261444091796875, 388.160888671875, 3.351032257080078125, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
|
||||
(12828, 23504, 0, 1, 1, 1, -5221.11572265625, -478.54193115234375, 386.972564697265625, 4.076367378234863281, 120, 0, 0, 0, 0, 0, "", 50664, 1, "GUID SAI");
|
||||
|
||||
DELETE FROM `game_event_creature` WHERE (`eventEntry` = 70) AND (`guid` IN (12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828));
|
||||
INSERT INTO `game_event_creature` (`eventEntry`,`guid`) VALUES
|
||||
(70, 12820),
|
||||
(70, 12821),
|
||||
(70, 12822),
|
||||
(70, 12823),
|
||||
(70, 12824),
|
||||
(70, 12825),
|
||||
(70, 12826),
|
||||
(70, 12827),
|
||||
(70, 12828);
|
||||
|
||||
-- update auras
|
||||
DELETE FROM `creature_addon` WHERE (`guid` IN (12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828));
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
|
||||
(12820, 0, 0, 0, 0, 233, 0, '44372'),
|
||||
(12821, 0, 0, 0, 0, 432, 0, '44372'),
|
||||
(12822, 0, 0, 0, 0, 432, 0, '44372'),
|
||||
(12823, 0, 0, 0, 0, 233, 0, '44372'),
|
||||
(12824, 0, 0, 0, 0, 233, 0, '44372'),
|
||||
(12825, 0, 0, 0, 0, 233, 0, '44372'),
|
||||
(12826, 0, 0, 0, 0, 233, 0, '44372'),
|
||||
(12827, 0, 0, 0, 0, 233, 0, '44372'),
|
||||
(12828, 0, 0, 0, 0, 233, 0, '44372');
|
||||
|
||||
-- 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);
|
||||
|
||||
SET @NPC := 12828;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2 WHERE `guid`=@NPC;
|
||||
UPDATE `creature_addon` SET `path_id` = @PATH, `emote` = 0 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,-5221.1157,-478.54193,386.97256,NULL,0,0,0,100,0),
|
||||
(@PATH,2,-5221.1157,-478.54193,386.97256,NULL,25000,0,0,100,0),
|
||||
(@PATH,3,-5221.1157,-478.54193,386.97256,NULL,0,0,0,100,0),
|
||||
(@PATH,4,-5210.8853,-465.23352,387.57217,NULL,25000,0,0,100,0),
|
||||
(@PATH,5,-5210.8853,-465.23352,387.57217,NULL,0,0,0,100,0),
|
||||
(@PATH,6,-5216.8687,-472.79004,386.83,NULL,0,0,0,100,0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -12828);
|
||||
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
|
||||
(-12828, 0, 1000, 0, 108, 0, 100, 0, 2, 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 2 of Path Any Reached - Set Emote State 234'),
|
||||
(-12828, 0, 1001, 0, 108, 0, 100, 0, 3, 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 3 of Path Any Reached - Set Emote State 0'),
|
||||
(-12828, 0, 1002, 0, 108, 0, 100, 0, 4, 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 4 of Path Any Reached - Set Emote State 234'),
|
||||
(-12828, 0, 1003, 0, 108, 0, 100, 0, 5, 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 5 of Path Any Reached - Set Emote State 0');
|
||||
|
||||
SET @NPC := 12821;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-5179.5845,`position_y`=-554.1431,`position_z`=397.27936 WHERE `guid`=@NPC;
|
||||
UPDATE `creature_addon` SET `path_id` = @PATH, `emote` = 0 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 ,-5179.5845,-554.1431,397.27936,NULL,0,0,0,100,0),
|
||||
(@PATH,2 ,-5179.5845,-554.1431,397.27936,1.186823844909667968,20000,0,0,100,0),
|
||||
(@PATH,3 ,-5179.5845,-554.1431,397.27936,0,0,0,0,100,0),
|
||||
(@PATH,4 ,-5174.075,-559.6432,397.27936,NULL,0,0,0,100,0),
|
||||
(@PATH,5 ,-5164.4526,-578.34515,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,6 ,-5152.449,-586.9136,397.4418,NULL,0,0,0,100,0),
|
||||
(@PATH,7 ,-5136.8228,-594.1225,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,8 ,-5127.86,-593.34924,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,9 ,-5126.536,-586.53815,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,10,-5130.469,-588.1358,397.30118,NULL,20000,0,0,100,0),
|
||||
(@PATH,11,-5130.469,-588.1358,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,12,-5131.538,-596.21716,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,13,-5152.9185,-587.6705,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,14,-5161.316,-577.31525,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,15,-5161.492,-570.673,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,16,-5158.0684,-569.75946,397.30118,NULL,0,0,0,100,0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -12821);
|
||||
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
|
||||
(-12821, 0, 1000, 0, 108, 0, 100, 0, 2, 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 2 of Path Any Reached - Set Emote State 133'),
|
||||
(-12821, 0, 1001, 0, 108, 0, 100, 0, 3, 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 3 of Path Any Reached - Set Emote State 0'),
|
||||
(-12821, 0, 1002, 0, 108, 0, 100, 0, 10, 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 10 of Path Any Reached - Set Emote State 133'),
|
||||
(-12821, 0, 1003, 0, 108, 0, 100, 0, 11, 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 11 of Path Any Reached - Set Emote State 0');
|
||||
|
||||
SET @NPC := 12822;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-5172.882,`position_y`=-622.4076,`position_z`=397.30118 WHERE `guid`=@NPC;
|
||||
UPDATE `creature_addon` SET `path_id` = @PATH, `emote` = 0 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 ,-5172.882,-622.4076,397.30118,NULL,10000,0,0,100,0),
|
||||
(@PATH,2 ,-5172.882,-622.4076,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,3 ,-5153.764,-618.47894,398.19446,NULL,0,0,0,100,0),
|
||||
(@PATH,4 ,-5143.7505,-617.6986,398.0995,NULL,0,0,0,100,0),
|
||||
(@PATH,5 ,-5141.4756,-614.8408,398.0995,NULL,0,0,0,100,0),
|
||||
(@PATH,6 ,-5135.3057,-591.59015,397.30118,NULL,15000,0,0,100,0),
|
||||
(@PATH,7 ,-5135.3057,-591.59015,397.30118,NULL,0,0,0,100,0),
|
||||
(@PATH,8 ,-5142.6113,-632.1305,397.2245,NULL,60000,0,0,100,0),
|
||||
(@PATH,9 ,-5142.6113,-632.1305,397.2245,NULL,0,0,0,100,0),
|
||||
(@PATH,10,-5149.8955,-618.4285,398.20056,NULL,0,0,0,100,0),
|
||||
(@PATH,11,-5167.732,-619.2291,397.3063,NULL,0,0,0,100,0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -12822);
|
||||
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
|
||||
(-12822, 0, 1000, 0, 108, 0, 100, 0, 1, 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 1 of Path Any Reached - Set Emote State 133'),
|
||||
(-12822, 0, 1001, 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'),
|
||||
(-12822, 0, 1002, 0, 108, 0, 100, 0, 6, 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 6 of Path Any Reached - Set Emote State 133'),
|
||||
(-12822, 0, 1003, 0, 108, 0, 100, 0, 7, 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 7 of Path Any Reached - Set Emote State 0'),
|
||||
(-12822, 0, 1004, 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'),
|
||||
(-12822, 0, 1005, 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');
|
||||
|
||||
-- creature texts
|
||||
DELETE FROM `creature_text` WHERE (`CreatureID` = 23504) AND (`GroupID` = 0) AND (`ID` IN (0, 1, 2, 3, 4));
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(23504, 0, 0, 'Brewfest is almost here!', 12, 0, 100.0, 0, 0, 0, 21966, 0, 'Brewfest Setup Crew'),
|
||||
(23504, 0, 1, 'Can\'t you see I\'ve got work to do here?', 12, 0, 100.0, 0, 0, 0, 21967, 0, 'Brewfest Setup Crew'),
|
||||
(23504, 0, 2, 'Won\'t be long now until the Brewfest starts! Come back later and check to see if we\'re done.', 12, 0, 100.0, 0, 0, 0, 21968, 0, 'Brewfest Setup Crew'),
|
||||
(23504, 0, 3, 'I can\'t wait until we\'re done setting up. Then I can kick back and enjoy the festivities.', 12, 0, 100.0, 0, 0, 0, 21969, 0, 'Brewfest Setup Crew'),
|
||||
(23504, 0, 4, 'Brewfest is a non-stop party. Setting up for it, though, is non-stop work!', 12, 0, 100.0, 0, 0, 0, 21970, 0, 'Brewfest Setup Crew');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 23504;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 23504);
|
||||
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
|
||||
(23504, 0, 0, 0, 101, 0, 100, 0, 1, 14, 0, 6000, 36000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Brewfest Setup Crew - On 1 or More Players in Range - Say Line 0');
|
||||
Reference in New Issue
Block a user