From f7e77d68f9f56d764e7a27cfae6c345a4c446624 Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Sun, 8 Oct 2023 14:47:11 +0300 Subject: [PATCH] fix(DB/Gameobject): Port BRD - Dark Iron Deposits from Mangos (#17445) --- .../rev_1696692827138273800.sql | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1696692827138273800.sql diff --git a/data/sql/updates/pending_db_world/rev_1696692827138273800.sql b/data/sql/updates/pending_db_world/rev_1696692827138273800.sql new file mode 100644 index 000000000..de2c3177e --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1696692827138273800.sql @@ -0,0 +1,76 @@ +-- Blackrock Depths - Dark Iron Deposit(s) +DELETE FROM `gameobject` WHERE `id` = 165658 AND `map` = 230; +DELETE FROM `pool_template` WHERE `entry` BETWEEN 11700 AND 11705; +DELETE FROM `pool_gameobject` WHERE `pool_entry` BETWEEN 11700 AND 11705 AND `guid` BETWEEN 10601 and 10626; + +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(10601, 165658, 230, 0, 0, 1, 1, 884.448, -410.508, -48.2044, 4.34587, 0, 0, -0.824126, 0.566406, 604800, 100, 1), +(10602, 165658, 230, 0, 0, 1, 1, 1215.01, -384.236, -98.9694, 1.79769, 0, 0, 0.782608, 0.622515, 604800, 100, 1), +(10603, 165658, 230, 0, 0, 1, 1, 418.63, -158.696, -63.1528, 0.226893, 0, 0, 0.113203, 0.993572, 604800, 100, 1), +(10604, 165658, 230, 0, 0, 1, 1, 980.556, -419.592, -59.3434, 4.4855, 0, 0, -0.782608, 0.622515, 604800, 100, 1), +(10605, 165658, 230, 0, 0, 1, 1, 756.207, 158.727, -72.2169, -1.23918, 0, 0, -0.580703, 0.814116, 604800, 100, 1), +(10606, 165658, 230, 0, 0, 1, 1, 640.727, 28.869, -74.0452, 1.8675, 0, 0, 0.803857, 0.594823, 604800, 100, 1), +(10607, 165658, 230, 0, 0, 1, 1, 1002.0756, -395.6539, -64.0793, 0.15708, 0, 0, 0.0784591, 0.996917, 604800, 100, 1), +(10608, 165658, 230, 0, 0, 1, 1, 646.092, 193.607, -72.1246, 0.523598, 0, 0, 0.258819, 0.965926, 604800, 100, 1), +(10609, 165658, 230, 0, 0, 1, 1, 670.734, -201.308, -78.1551, 3.75246, 0, 0, -0.953716, 0.300708, 604800, 100, 1), +(10610, 165658, 230, 0, 0, 1, 1, 673.099, -21.6642, -73.7605, 2.74016, 0, 0, 0.979924, 0.19937, 604800, 100, 1), +(10611, 165658, 230, 0, 0, 1, 1, 313.624, -211.422, -77.3546, -0.663223, 0, 0, -0.325567, 0.945519, 604800, 100, 1), +(10612, 165658, 230, 0, 0, 1, 1, 1014.22, -356.364, -65.7033, 1.13446, 0, 0, 0.537299, 0.843392, 604800, 100, 1), +(10613, 165658, 230, 0, 0, 1, 1, 637.928, -162.775, -70.9528, -2.75761, 0, 0, -0.981627, 0.190812, 604800, 100, 1), +(10614, 165658, 230, 0, 0, 1, 1, 545.169, -128.195, -60.3184, -1.72788, 0, 0, 0.760406, -0.649448, 604800, 100, 1), +(10615, 165658, 230, 0, 0, 1, 1, 977.641, -316.468, -70.6036, 1.79769, 0, 0, 0.782608, 0.622515, 604800, 100, 1), +(10616, 165658, 230, 0, 0, 1, 1, 636.57, -274.759, -83.7882, 4.01426, 0, 0, -0.906307, 0.422619, 604800, 100, 1), +(10617, 165658, 230, 0, 0, 1, 1, 679.721, 102.181, -73.2564, -1.18682, 0, 0, 0.559193, -0.829037, 604800, 100, 1), +(10618, 165658, 230, 0, 0, 1, 1, 634.768, -56.406, -73.6264, 2.96704, 0, 0, 0.996194, 0.087165, 604800, 100, 1), +(10619, 165658, 230, 0, 0, 1, 1, 327.184, -58.5715, -71.3615, 0.715585, 0, 0, 0.350207, 0.936672, 604800, 100, 1), +(10620, 165658, 230, 0, 0, 1, 1, 1204.1, -350.158, -93.6315, 0.59341, 0, 0, 0.292371, 0.956305, 604800, 100, 1), +(10621, 165658, 230, 0, 0, 1, 1, 918.903, -447.008, -53.8907, 0.261798, 0, 0, 0.130526, 0.991445, 604800, 100, 1), +(10622, 165658, 230, 0, 0, 1, 1, 748.476, -53.7894, -71.278, 2.96706, 0, 0, 0.996195, 0.0871558, 604800, 100, 1), +(10623, 165658, 230, 0, 0, 1, 1, 291.891, -122.786, -69.1713, 1.41372, 0, 0, 0.649447, 0.760406, 604800, 100, 1), +(10624, 165658, 230, 0, 0, 1, 1, 503.193, -190.118, -59.3156, -0.401426, 0, 0, 0.199368, -0.979925, 604800, 100, 1), +(10625, 165658, 230, 0, 0, 1, 1, 643.342, 144.62, -73.8284, 0.523598, 0, 0, 0.258819, 0.965926, 604800, 100, 1), +(10626, 165658, 230, 0, 0, 1, 1, 964.466, -436.64, -54.6864, 5.96903, 0, 0, -0.156434, 0.987688, 604800, 100, 1); + +SET +@Bridge = 11700, +@Prison = 11701, +@Arena = 11702, +@Gar = 11703, +@Highway = 11704, +@City = 11705; + +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@Bridge, 1, 'BRD - Dark Iron Deposit - Bridge'), +(@Prison, 1, 'BRD - Dark Iron Deposit - Prison'), +(@Arena, 1, 'BRD - Dark Iron Deposit - Arena'), +(@Gar, 1, 'BRD - Dark Iron Deposit - Gar'), +(@Highway, 1, 'BRD - Dark Iron Deposit - Highway'), +(@City, 1, 'BRD - Dark Iron Deposit - City'); + +INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(10602, @Bridge, 0, 'Dark Iron Deposit - Bridge'), +(10620, @Bridge, 0, 'Dark Iron Deposit - Bridge'), +(10619, @Prison, 0, 'Dark Iron Deposit - Prison'), +(10623, @Prison, 0, 'Dark Iron Deposit - Prison'), +(10611, @Prison, 0, 'Dark Iron Deposit - Prison'), +(10603, @Prison, 0, 'Dark Iron Deposit - Prison'), +(10624, @Arena, 0, 'Dark Iron Deposit - Arena'), +(10616, @Arena, 0, 'Dark Iron Deposit - Arena'), +(10609, @Arena, 0, 'Dark Iron Deposit - Arena'), +(10613, @Arena, 0, 'Dark Iron Deposit - Arena'), +(10614, @Arena, 0, 'Dark Iron Deposit - Arena'), +(10608, @Gar, 0, 'Dark Iron Deposit - Gar'), +(10625, @Gar, 0, 'Dark Iron Deposit - Gar'), +(10617, @Gar, 0, 'Dark Iron Deposit - Gar'), +(10605, @Gar, 0, 'Dark Iron Deposit - Gar'), +(10606, @Highway, 0, 'Dark Iron Deposit - Highway'), +(10610, @Highway, 0, 'Dark Iron Deposit - Highway'), +(10618, @Highway, 0, 'Dark Iron Deposit - Highway'), +(10622, @Highway, 0, 'Dark Iron Deposit - Highway'), +(10615, @City, 0, 'Dark Iron Deposit - City'), +(10612, @City, 0, 'Dark Iron Deposit - City'), +(10607, @City, 0, 'Dark Iron Deposit - City'), +(10604, @City, 0, 'Dark Iron Deposit - City'), +(10626, @City, 0, 'Dark Iron Deposit - City'), +(10621, @City, 0, 'Dark Iron Deposit - City'), +(10601, @City, 0, 'Dark Iron Deposit - City');