From 49cebee3ec5a1e0ecb9dc4105d3f142a69bb1a26 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:05:55 -0300 Subject: [PATCH] fix(DB/Gameobject): Add more locations for Glinting Mud (#19351) Create rev_1720407351886654900.sql --- .../rev_1720407351886654900.sql | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1720407351886654900.sql diff --git a/data/sql/updates/pending_db_world/rev_1720407351886654900.sql b/data/sql/updates/pending_db_world/rev_1720407351886654900.sql new file mode 100644 index 000000000..280536587 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1720407351886654900.sql @@ -0,0 +1,32 @@ +-- +SET @OGUID := 131; + +DELETE FROM `gameobject` WHERE `id` = 154357; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 154357, 0, -9360.16992187500000000000, -2243.55004882812500000000, 45.49539947509765600000, 5.63741016387939450000, 0.00000000000000000000, 0.00000000000000000000, -0.31730499863624570000, 0.94832402467727660000, 2, 255, 1), +(@OGUID+1, 154357, 0, -9324.09960937500000000000, -1986.68994140625000000000, 43.58140182495117000000, 5.95157003402710000000, 0.00000000000000000000, 0.00000000000000000000, -0.16504700481891632000, 0.98628598451614380000, 2, 255, 1), +(@OGUID+2, 154357, 0, -9360.54003906250000000000, -2372.20996093750000000000, 40.86640167236328000000, 2.47836995124816900000, 0.00000000000000000000, 0.00000000000000000000, 0.94551801681518550000, 0.32556799054145813000, 2, 255, 1), +(@OGUID+3, 154357, 0, -9316.16015625000000000000, -2146.71997070312500000000, 45.98830032348633000000, 4.01425981521606450000, 0.00000000000000000000, 0.00000000000000000000, -0.90630698204040530000, 0.42261898517608640000, 2, 255, 1), +(@OGUID+4, 154357, 0, -9375.87011718750000000000, -2303.81005859375000000000, 45.55229949951172000000, 3.92700004577636700000, 0.00000000000000000000, 0.00000000000000000000, -0.92387902736663820000, 0.38268598914146423000, 2, 255, 1), +(@OGUID+5, 154357, 0, -9363.99023437500000000000, -2396.56005859375000000000, 36.88159942626953000000, 4.27606010437011700000, 0.00000000000000000000, 0.00000000000000000000, -0.84339100122451780000, 0.53729999065399170000, 2, 255, 1), +(@OGUID+6, 154357, 0, -9344.79980468750000000000, -2042.31005859375000000000, 40.94120025634765600000, 5.49778985977172850000, 0.00000000000000000000, 0.00000000000000000000, -0.38268300890922546000, 0.92387998104095460000, 2, 255, 1), +(@OGUID+7, 154357, 0, -9357.16992187500000000000, -2129.56005859375000000000, 42.33779907226562500000, 5.09636020660400400000, 0.00000000000000000000, 0.00000000000000000000, -0.55919301509857180000, 0.82903802394866940000, 2, 255, 1), +(@OGUID+8, 154357, 0, -9367.62988281250000000000, -2094.20996093750000000000, 45.34899902343750000000, 5.68977022171020500000, 0.00000000000000000000, 0.00000000000000000000, -0.29237198829650880000, 0.95630502700805660000, 2, 255, 1), +(@OGUID+9, 154357, 0, -9386.95996093750000000000, -2175.23999023437500000000, 41.99969863891601600000, 3.52556991577148440000, 0.00000000000000000000, 0.00000000000000000000, -0.98162698745727540000, 0.19081200659275055000, 2, 255, 1); + +DELETE FROM `pool_template` WHERE `entry` = 138 AND `description` LIKE '%Glinting Mud%'; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(138, 2, 'Glinting Mud - 2/10'); + +DELETE FROM `pool_gameobject` WHERE `pool_entry` = 138 AND `description` = 'Glinting Mud'; +INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(@OGUID+0, 138, 0, 'Glinting Mud'), +(@OGUID+1, 138, 0, 'Glinting Mud'), +(@OGUID+2, 138, 0, 'Glinting Mud'), +(@OGUID+3, 138, 0, 'Glinting Mud'), +(@OGUID+4, 138, 0, 'Glinting Mud'), +(@OGUID+5, 138, 0, 'Glinting Mud'), +(@OGUID+6, 138, 0, 'Glinting Mud'), +(@OGUID+7, 138, 0, 'Glinting Mud'), +(@OGUID+8, 138, 0, 'Glinting Mud'), +(@OGUID+9, 138, 0, 'Glinting Mud');