mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(DB/skinning_loot_template): new skinning entries for different mobs in TBC (#14506)
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
This commit is contained in:
18
data/sql/updates/pending_db_world/skinning.sql
Normal file
18
data/sql/updates/pending_db_world/skinning.sql
Normal file
@@ -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));
|
||||
Reference in New Issue
Block a user