From 85103fd2afd81be320a9255e271840ac20fd59b6 Mon Sep 17 00:00:00 2001 From: anguaive <39011611+anguaive@users.noreply.github.com> Date: Fri, 11 Jun 2021 19:24:40 +0200 Subject: [PATCH] fix(DB/gameobject): Add missing Azshara fish nodes (#6210) Azshara was missing several Patch of Elemental Water fishing nodes. I've added 6 of these nodes to locations specified on the classic wowhead page, and pooled them so only 4 are active at a time. - Closes #6165 - Closes chromiecraft/chromiecraft#751 --- .../rev_1622719475133710519.sql | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1622719475133710519.sql diff --git a/data/sql/updates/pending_db_world/rev_1622719475133710519.sql b/data/sql/updates/pending_db_world/rev_1622719475133710519.sql new file mode 100644 index 000000000..17a27e9e2 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1622719475133710519.sql @@ -0,0 +1,32 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1622719475133710519'); + +-- unused GUIDs +SET @GOB1 := 64811; +SET @GOB2 := 64827; +SET @GOB3 := 64837; +SET @GOB4 := 64839; +SET @GOB5 := 64843; +SET @GOB6 := 64859; +SET @POOL1:= 364; + +DELETE FROM `gameobject` WHERE `id` = 180753 AND `guid` IN (@GOB1, @GOB2, @GOB3, @GOB4, @GOB5, @GOB6); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `spawntimesecs`, `animprogress`) VALUES +(64811, 180753, 1, 3636.9329, -6091.6519, 3600, 100), +(64827, 180753, 1, 4020.0103, -6045.5298, 3600, 100), +(64837, 180753, 1, 3990.0527, -6295.1006, 3600, 100), +(64839, 180753, 1, 3517.3694, -7286.9570, 3600, 100), +(64843, 180753, 1, 2907.5141, -7090.7153, 3600, 100), +(64859, 180753, 1, 3031.2488, -6676.1084, 3600, 100); + +DELETE FROM `pool_template` WHERE `entry` = @POOL1; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@POOL1, 4, 'Azshara - Patch of Elemental Water'); + +DELETE FROM `pool_gameobject` WHERE `guid` IN (@GOB1, @GOB2, @GOB3, @GOB4, @GOB5, @GOB6); +INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(64811, @POOL1, 0, '1 - Patch of Elemental Water'), +(64827, @POOL1, 0, '2 - Patch of Elemental Water'), +(64837, @POOL1, 0, '3 - Patch of Elemental Water'), +(64839, @POOL1, 0, '4 - Patch of Elemental Water'), +(64843, @POOL1, 0, '5 - Patch of Elemental Water'), +(64859, @POOL1, 0, '6 - Patch of Elemental Water');