From 98e87f196f84ddbaa0353f8b468f080a0cb7a27a Mon Sep 17 00:00:00 2001 From: Pyromanihack <82369562+Pyromanihack@users.noreply.github.com> Date: Fri, 13 Jan 2023 10:21:26 +0100 Subject: [PATCH] fix(DB/skinning_loot_template): new skinning entries for different mobs in TBC (#14506) Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com> --- data/sql/updates/pending_db_world/skinning.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 data/sql/updates/pending_db_world/skinning.sql diff --git a/data/sql/updates/pending_db_world/skinning.sql b/data/sql/updates/pending_db_world/skinning.sql new file mode 100644 index 000000000..ef9c02101 --- /dev/null +++ b/data/sql/updates/pending_db_world/skinning.sql @@ -0,0 +1,18 @@ +-- Create a new skinning loot with right percentage +DELETE FROM `skinning_loot_template` WHERE (`Entry` = 70068) AND (`Item` IN (21887, 25649, 35229)); +INSERT INTO `skinning_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(70068, 21887, 0, 80, 0, 1, 1, 1, 1, 'Knothide Leather'), +(70068, 25649, 0, 0, 0, 1, 1, 2, 3, 'Knothide Leather Scraps'), +(70068, 35229, 0, 25, 1, 1, 0, 1, 1, 'Nether Residue'); + +-- Creature with 80% Knothide Leather and 20% Knothide Leather Scraps +UPDATE `creature_template` SET `skinloot`= 70068 WHERE (`entry` IN (21879, 21408, 21864, 21901, 21462, 21878, 21195, 20610, 20773, 18879, 20671, 20634, 18880, 20777)); + +-- Create a new skinning loot with right percentage +DELETE FROM `skinning_loot_template` WHERE (`Entry` = 70069) AND `Item` IN (21887, 35229); +INSERT INTO `skinning_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(70069, 21887, 0, 0, 0, 1, 1, 1, 1, 'Knothide Leather'), +(70069, 35229, 0, 25, 1, 1, 0, 1, 1, 'Nether Residue'); + +-- Creature with 100% Knothide Leather +UPDATE `creature_template` SET `skinloot`= 70069 WHERE (`entry` IN (23501, 22181));