diff --git a/data/sql/updates/pending_db_world/rev_1730891144516714500.sql b/data/sql/updates/pending_db_world/rev_1730891144516714500.sql new file mode 100644 index 000000000..17d4bd61b --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1730891144516714500.sql @@ -0,0 +1,22 @@ +-- Update gameobject 'Winter Veil Gifts' with sniffed values +-- updated spawns +DELETE FROM `gameobject` WHERE (`id` IN (180747, 180748, 180793, 180743, 180746, 187236)) +AND (`guid` IN (151761, 151762, 151763, 151764, 151765, 151766, 151767, 151768, 151769, 151770, 151771, 151772)); +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 +(151761, 180747, 0, 0, 0, 1, 1, -4919.125, -980.60394287109375, 501.456329345703125, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 120, 255, 1, "", 52237, NULL), +(151762, 180747, 1, 0, 0, 1, 1, 1622.1910400390625, -4411.1181640625, 14.6721343994140625, 2.199114561080932617, 0, 0, 0.8910064697265625, 0.453990638256072998, 120, 255, 1, "", 47168, NULL), +(151763, 180748, 1, 0, 0, 1, 1, 1626.3853759765625, -4412.0869140625, 15.92627811431884765, 3.089183330535888671, 0, 0, 0.99965667724609375, 0.026201646775007247, 120, 255, 1, "", 47168, NULL), +(151764, 180748, 0, 0, 0, 1, 1, -4920.98095703125, -981.29241943359375, 501.46234130859375, 6.14356088638305664, 0, 0, -0.06975555419921875, 0.997564136981964111, 120, 255, 1, "", 52237, NULL), +(151765, 180793, 0, 0, 0, 1, 1, -4917.0869140625, -981.59259033203125, 501.838165283203125, 2.408554315567016601, 0, 0, 0.933580398559570312, 0.358368009328842163, 120, 255, 1, "", 52237, NULL), +(151766, 180793, 1, 0, 0, 1, 1, 1627.2569580078125, -4414.71875, 16.10008811950683593, 4.904376029968261718, 0, 0, -0.636077880859375, 0.771624863147735595, 120, 255, 1, "", 47168, NULL), +(151767, 180743, 0, 0, 0, 1, 1, -4916.0380859375, -981.1710205078125, 501.847808837890625, 0.087265998125076293, 0, 0, 0.043619155883789062, 0.999048233032226562, 120, 255, 1, "", 52237, NULL), +(151768, 180743, 1, 0, 0, 1, 1, 1628.5347900390625, -4413.283203125, 16.02033233642578125, 6.09120035171508789, 0, 0, -0.09584522247314453, 0.995396256446838378, 120, 255, 1, "", 47168, NULL), +(151769, 180746, 0, 0, 0, 1, 1, -4915.1650390625, -978.1317138671875, 501.4498291015625, 5.393068790435791015, 0, 0, -0.43051052093505859, 0.902585566043853759, 120, 255, 1, "", 52237, NULL), +(151770, 180746, 1, 0, 0, 1, 1, 1625.373291015625, -4410.189453125, 15.23215198516845703, 6.248279094696044921, 0, 0, -0.01745223999023437, 0.999847710132598876, 120, 255, 1, "", 47168, NULL), +(151771, 187236, 0, 0, 0, 1, 1, -4915.52734375, -979.5645751953125, 501.44732666015625, 0, 0, 0, 0, 1, 120, 255, 1, "", 52237, NULL), +(151772, 187236, 1, 0, 0, 1, 1, 1627.7552490234375, -4411.6025390625, 15.87722110748291015, 0, 0, 0, 0, 1, 120, 255, 1, "", 47168, NULL); + +-- enable all spawns for eventEntry 52 +DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 52) +AND (`guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (180743, 180746, 180747, 180748, 180793, 187236))); +INSERT INTO `game_event_gameobject` (SELECT 52, `guid` FROM `gameobject` WHERE `id` IN (180743, 180746, 180747, 180748, 180793, 187236));