From c23b4740f071424b632c6432e92d7400188a7274 Mon Sep 17 00:00:00 2001 From: sudlud Date: Fri, 20 Dec 2024 12:44:10 +0100 Subject: [PATCH] =?UTF-8?q?fix(DB/item=5Floot=5Ftemplate):=20fix=20Santa?= =?UTF-8?q?=20sometimes=20handing=20out=20empty=20pr=E2=80=A6=20(#20978)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/updates/pending_db_world/rev_1734635884187539100.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1734635884187539100.sql diff --git a/data/sql/updates/pending_db_world/rev_1734635884187539100.sql b/data/sql/updates/pending_db_world/rev_1734635884187539100.sql new file mode 100644 index 000000000..0425e6d84 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1734635884187539100.sql @@ -0,0 +1,5 @@ +-- fix Santa handing out empty gifts +-- before: ungrouped at roughly 25%, can be empty and also multiple hits +-- after: grouped ad exactly 25%, never empty, always one hit only +-- Smokywood Pastures Gift Pack (17727) +UPDATE `item_loot_template` SET `Chance` = 0, `GroupId` = 1 WHERE (`Entry` = 17727) AND (`Item` IN (785, 2318, 2840, 2996));