fix(DB/Loot) - Adjusted loot for Corrupted Kor Gem (#23951)

Co-authored-by: FlyingArowana <TheSCREWEDSoftware@users.noreply.github.com>
This commit is contained in:
Ryan Turner 2025-11-30 19:52:08 +00:00 committed by GitHub
parent 61495528df
commit e4869976f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,17 @@
SET @ITEM = 6995;
SET @ENTRY = 1055;
-- Creates a reference loot for "Corrupted Kor Gem"
DELETE FROM `reference_loot_template` WHERE `Entry` = @ENTRY AND `Item` = @ITEM;
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(@ENTRY, @ITEM, 0, 100, 1, 1, 1, 1, 1, 'Corrupted Kor Gem');
-- Deletes "Corrupted Kor Gem" from every creature's loot
DELETE FROM `creature_loot_template` WHERE `item` = @ITEM;
-- Adds reference loot for "Corrupted Kor Gem" for each creature below
DELETE FROM `creature_loot_template` WHERE `Reference` = @ENTRY AND `Entry` IN (4802, 4803, 4805);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(4802, @ITEM, @ENTRY, 80, 0, 1, 0, 1, 1, 'Blackfathom Tide Priestess - Corrupted Kor Gem'),
(4803, @ITEM, @ENTRY, 80, 0, 1, 0, 1, 1, 'Blackfathom Oracle - Corrupted Kor Gem'),
(4805, @ITEM, @ENTRY, 80, 0, 1, 0, 1, 1, 'Blackfathom Sea Witch - Corrupted Kor Gem');