From 05d9fabc46451f84082ce704b05f62ec293dcb94 Mon Sep 17 00:00:00 2001 From: Ludwig Date: Tue, 12 Nov 2024 17:13:50 +0100 Subject: [PATCH] fix(DB/Gameobject): Sniffed Values for 'Zul' Aman Misc (2)' spawns --- .../rev_1731427157601507600.sql | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1731427157601507600.sql diff --git a/data/sql/updates/pending_db_world/rev_1731427157601507600.sql b/data/sql/updates/pending_db_world/rev_1731427157601507600.sql new file mode 100644 index 00000000000000..4b0c51c12678b4 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1731427157601507600.sql @@ -0,0 +1,29 @@ +-- Update gameobject 'Zul' Aman Misc (2)' with sniffed values +-- new spawns +DELETE FROM `gameobject` WHERE (`id` IN (186622, 186623, 186648, 186658, 186671, 186860, 187035, 187036, 187037)) +AND (`guid` BETWEEN 486 AND 497); +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 +-- Zul'Aman - Loot Box - Dwarf +(486, 186622, 568, 0, 0, 1, 1, 305.5137939453125, 1467.336669921875, 81.5059356689453125, 3.961898565292358398, 0, 0, -0.91705989837646484, 0.398749500513076782, 7200, 255, 1, "", 49345, NULL), +-- Zul'Aman - Dwarf Hammer +(487, 186623, 568, 0, 0, 1, 1, 307.208343505859375, 1464.1441650390625, 81.60315704345703125, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, "", 49345, NULL), +-- Tanzar's Trunk +(488, 186648, 568, 0, 0, 1, 1, -135.194442749023437, 1333.054443359375, 48.17387008666992187, 2.391098499298095703, 0, 0, 0.930417060852050781, 0.366502493619918823, 7200, 255, 1, "", 49345, NULL), +-- Kraz's Chest +(489, 186658, 568, 0, 0, 1, 1, -79.985137939453125, 1125.3427734375, 5.594004154205322265, 3.22885894775390625, 0, 0, -0.99904823303222656, 0.043619260191917419, 7200, 255, 1, "", 49345, NULL), +-- Ashli's Vase +(490, 186671, 568, 0, 0, 1, 1, 332.369049072265625, 1084.4185791015625, 6.280053138732910156, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 7200, 255, 1, "", 49345, NULL), +(491, 186671, 568, 0, 0, 1, 1, 343.357086181640625, 1152.027099609375, 6.343656063079833984, 3.351046562194824218, 0, 0, -0.99452114105224609, 0.104535527527332305, 7200, 255, 1, "", 49345, NULL), +(492, 186671, 568, 0, 0, 1, 1, 344.3331298828125, 1084.6768798828125, 6.966906070709228515, 2.967041015625, 0, 0, 0.996193885803222656, 0.087165042757987976, 7200, 255, 1, "", 49345, NULL), +(493, 186671, 568, 0, 0, 1, 1, 424.256072998046875, 1083.61328125, 6.606083869934082031, 1.099556446075439453, 0, 0, 0.522498130798339843, 0.852640450000762939, 7200, 255, 1, "", 49345, NULL), +-- Zul'Aman - Altar Torch - Bear God +(494, 186860, 568, 0, 0, 1, 1, 99.98274993896484375, 1333.9500732421875, -9.39568901062011718, 0.593410074710845947, 0, 0, 0.292370796203613281, 0.95630502700805664, 7200, 255, 1, "", 49345, NULL), +-- Zul'Aman - Altar Torch - Eagle God +(495, 187035, 568, 0, 0, 1, 1, 132.4637603759765625, 1334.1907958984375, -9.37467288970947265, 3.752462387084960937, 0, 0, -0.95371627807617187, 0.300707906484603881, 7200, 255, 1, "", 49345, NULL), +-- Zul'Aman - Altar Torch - Dragonhawk God +(496, 187036, 568, 0, 0, 1, 1, 98.815216064453125, 1245.41064453125, -9.49481678009033203, 1.431168079376220703, 0, 0, 0.656058311462402343, 0.754710197448730468, 7200, 255, 1, "", 49345, NULL), +-- Zul'Aman - Altar Torch - Lynx God +(497, 187037, 568, 0, 0, 1, 1, 132.3734893798828125, 1244.41455078125, -9.6475982666015625, 0.296705186367034912, 0, 0, 0.147809028625488281, 0.989015936851501464, 7200, 255, 1, "", 53788, NULL); + +-- lock Tanzar's Trunk +UPDATE `gameobject_template_addon` SET `flags` = `flags` | 2 WHERE (`entry` = 186648);