From 578db72dbe3515758057d3ca4100707dc7c4f05a Mon Sep 17 00:00:00 2001 From: sevi Date: Tue, 7 Jul 2020 19:47:33 +0200 Subject: [PATCH] DB/Items: added loot for Zul'Gurub bag items and removed some nonsense loot from Stormwind Rat and Oasis Moth --- .../world/4.3.4/2020_07_07_01_world.sql | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 sql/updates/world/4.3.4/2020_07_07_01_world.sql diff --git a/sql/updates/world/4.3.4/2020_07_07_01_world.sql b/sql/updates/world/4.3.4/2020_07_07_01_world.sql new file mode 100644 index 00000000000..9e402f69f3d --- /dev/null +++ b/sql/updates/world/4.3.4/2020_07_07_01_world.sql @@ -0,0 +1,53 @@ +-- Stormwind Rat +DELETE FROM `creature_loot_template` WHERE `Entry`= 49540; +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry`= 49540; + +-- Oasis Moth +DELETE FROM `creature_loot_template` WHERE `Entry`= 50496; +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry`= 50496; + +-- Master Chef's Groceries +SET @ENTRY := 69822; +DELETE FROM `item_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `item_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(@ENTRY, 62780, 0, 1, 18, 20), +(@ENTRY, 62784, 0, 1, 18, 20), +(@ENTRY, 62791, 0, 1, 18, 20), +(@ENTRY, 62779, 0, 1, 18, 20), +(@ENTRY, 62781, 0, 1, 18, 20), +(@ENTRY, 62783, 0, 1, 18, 20), +(@ENTRY, 62782, 0, 1, 18, 20), +(@ENTRY, 62778, 0, 1, 18, 20), +(@ENTRY, 62785, 0, 1, 18, 20); + +-- Gub's Catch +SET @ENTRY := 69823; +DELETE FROM `item_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `item_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(@ENTRY, 53070, 0, 1, 18, 20), +(@ENTRY, 53068, 0, 1, 18, 20), +(@ENTRY, 53072, 0, 1, 18, 20), +(@ENTRY, 53071, 0, 1, 18, 20); + +-- Water-Filled Gills +SET @ENTRY := 70719; +DELETE FROM `item_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `item_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(@ENTRY, 52326, 100, 0, 18, 20); + +-- Hive Queen's Honeycomb +SET @ENTRY := 69817; +DELETE FROM `item_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `item_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(@ENTRY, 52987, 0, 1, 4, 6), +(@ENTRY, 52328, 0, 1, 4, 6), +(@ENTRY, 52329, 0, 1, 4, 6); + +-- Giant Sack +SET @ENTRY := 69818; +DELETE FROM `item_loot_template` WHERE `Entry`=@ENTRY; +INSERT INTO `item_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(@ENTRY, 52185, 0, 1, 8, 15), +(@ENTRY, 52180, 0, 2, 1, 2), +(@ENTRY, 52182, 0, 2, 1, 2), +(@ENTRY, 52178, 0, 2, 1, 2);