From bc9b33a1a3ab6051d0c78d567dc4cc573a46a8ec Mon Sep 17 00:00:00 2001 From: Azcobu <81782124+Azcobu@users.noreply.github.com> Date: Mon, 31 May 2021 03:41:55 +0930 Subject: [PATCH] fix(DB/loot): Staff of Horrors drops (#5999) Removed Staff of Horrors from widely used ref_loot_table 24062 and added to Skeletal Horrors with a 1.6% drop chance --- .../updates/pending_db_world/rev_1621659447273280925.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1621659447273280925.sql diff --git a/data/sql/updates/pending_db_world/rev_1621659447273280925.sql b/data/sql/updates/pending_db_world/rev_1621659447273280925.sql new file mode 100644 index 000000000..30da4b1bb --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1621659447273280925.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1621659447273280925'); + +DELETE FROM `reference_loot_template` WHERE `Entry` = 24062 AND `Item` = 880; + +DELETE FROM `creature_loot_template` WHERE `Entry` = 202 AND `Item` = 880; + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(202, 880, 0, 1.6, 0, 1, 0, 1, 1, "Skeletal Horror - Staff of Horrors"); +