From 002ff53fe2b422d42716ac5a1e91ac5d5cbe0d1e Mon Sep 17 00:00:00 2001 From: Azcobu <81782124+Azcobu@users.noreply.github.com> Date: Sun, 20 Jun 2021 21:41:04 +0930 Subject: [PATCH] fix(DB/loot): normalise Tunnel Rat Ear drop rates (#6375) --- .../updates/pending_db_world/rev_1623848244419594409.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1623848244419594409.sql diff --git a/data/sql/updates/pending_db_world/rev_1623848244419594409.sql b/data/sql/updates/pending_db_world/rev_1623848244419594409.sql new file mode 100644 index 000000000..ef195a994 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1623848244419594409.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1623848244419594409'); + +-- Changes Tunnel Rat Ear drop rate to 38% for Geomancers, Diggers and Surveyors +UPDATE `creature_loot_template` SET `Chance` = 38 WHERE `entry` IN (1174, 1175, 1177) AND `item` = 3110; + +-- Adds Tunnel Rat Ears to Scouts with 38% drop rate +DELETE FROM `creature_loot_template` WHERE `Entry` = 1173 AND `Item` = 3110; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(1173, 3110, 0, 38, 1, 1, 0, 1, 1, 'Quest drop for Rat Catching');