From ae2ec5a7d2ff5ebfbc27dc1c78be4cc1ff69efad Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 7 Jul 2020 19:06:51 +0200 Subject: [PATCH] DB/Items: added loot for Satchel of Freshly-Picked Herbs --- sql/updates/world/4.3.4/2020_07_07_00_world.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sql/updates/world/4.3.4/2020_07_07_00_world.sql diff --git a/sql/updates/world/4.3.4/2020_07_07_00_world.sql b/sql/updates/world/4.3.4/2020_07_07_00_world.sql new file mode 100644 index 00000000000..a28df7657fd --- /dev/null +++ b/sql/updates/world/4.3.4/2020_07_07_00_world.sql @@ -0,0 +1,14 @@ +SET @ENTRY := 68813; +DELETE FROM `item_loot_template` WHERE `Entry`= @ENTRY; +DELETE FROM `reference_loot_template` WHERE `Entry`= @ENTRY * 10; +INSERT INTO `reference_loot_template` (`Entry`, `Reference`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- 5 herbs per roll +(@ENTRY * 10, 0, 52984, 0, 1, 5, 5), +(@ENTRY * 10, 0, 52986, 0, 1, 5, 5), +(@ENTRY * 10, 0, 52983, 0, 1, 5, 5), +(@ENTRY * 10, 0, 52988, 0, 1, 5, 5), +(@ENTRY * 10, 0, 52987, 0, 1, 5, 5), +(@ENTRY * 10, 0, 52985, 0, 1, 5, 5); + +INSERT INTO `item_loot_template` (`Entry`, `Reference`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(@ENTRY, @ENTRY * 10, @ENTRY * 10, 100, 0, 4, 4);