From 644d7f512440fbe793d97243fdc87988d2b97131 Mon Sep 17 00:00:00 2001 From: syssneck <68868567+syssneck@users.noreply.github.com> Date: Sun, 17 Oct 2021 19:41:59 +0200 Subject: [PATCH] fix(DB/creature_loot): Removes Black Metal War Axe from RLT (#8447) --- .../pending_db_world/rev_1634045250480483175.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1634045250480483175.sql diff --git a/data/sql/updates/pending_db_world/rev_1634045250480483175.sql b/data/sql/updates/pending_db_world/rev_1634045250480483175.sql new file mode 100644 index 000000000..4781690b4 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1634045250480483175.sql @@ -0,0 +1,12 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1634045250480483175'); + +-- Deletes Black Metal War Axe from the RLT 24068 +DELETE FROM `reference_loot_template` WHERE `Entry` = 24068 AND `Item` = 2015; + +-- Adds Black Metal War Axe to Brain Eaters directly +DELETE FROM `creature_loot_template` WHERE `Entry` = 570 AND `Item` = 2015; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(570, 2015, 0, 0.9, 0, 1, 0, 1, 1, ''); + +-- Reduces the drop chance of Nightcrawler to not exceed 100 % overall loot chance for Brain Eaters +UPDATE `creature_loot_template` SET `Chance` = 32.28 WHERE `Entry` = 570 AND `Item` = 6530;