From 609f98fd9bb325fcbff516450ba37c5a2f79ae88 Mon Sep 17 00:00:00 2001 From: temperrr Date: Fri, 29 Jul 2022 14:41:30 +0200 Subject: [PATCH] fix(DB/Loot): emerald dragons should skin dreamscale (#12569) * fix(DB/SkinningLootTemplate): emerald dragons should skin dreamscale * initial commit --- .../updates/pending_db_world/emeralddragonsskinloot.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/sql/updates/pending_db_world/emeralddragonsskinloot.sql diff --git a/data/sql/updates/pending_db_world/emeralddragonsskinloot.sql b/data/sql/updates/pending_db_world/emeralddragonsskinloot.sql new file mode 100644 index 000000000..ced308115 --- /dev/null +++ b/data/sql/updates/pending_db_world/emeralddragonsskinloot.sql @@ -0,0 +1,7 @@ +-- +UPDATE `creature_template` SET `skinloot` = 14887 WHERE (`entry` IN (14887, 14888, 14889, 14890)); + +DELETE FROM `skinning_loot_template` WHERE (`Entry` = 14887) AND (`Item` IN (15412, 20381)); +INSERT INTO `skinning_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(14887, 15412, 0, 60, 0, 1, 1, 5, 8, ''), +(14887, 20381, 0, 40, 0, 1, 1, 3, 5, '');