fix(DB/Loot) - Correct who should or not drop Pattern: Robes of Arcana (#23916)
Co-authored-by: FlyingArowana <TheSCREWEDSoftware@users.noreply.github.com> Co-authored-by: sudlud <sudlud@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
e5746fbc89
commit
965229ae01
1 changed files with 20 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
SET @ITEM = 5773;
|
||||
SET @ENTRY = 1054;
|
||||
|
||||
-- Deletes "Pattern: Robes of Arcana" from Reference Loot #24704
|
||||
DELETE FROM `reference_loot_template` WHERE `Entry` = 24704 AND `Item` = @ITEM;
|
||||
|
||||
-- Creates a reference loot for "Pattern: Robes of Arcana"
|
||||
DELETE FROM `reference_loot_template` WHERE `Entry` = @ENTRY;
|
||||
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
|
||||
(@ENTRY, @ITEM, 0, 100, 0, 1, 1, 1, 1, 'Pattern: Robes of Arcana');
|
||||
|
||||
-- Deletes "Pattern: Robes of Arcana" from Defias Enchnater, Dark Strand Voidcaller and Grimtotem Geomancer
|
||||
DELETE FROM `creature_loot_template` WHERE `item` = @ITEM AND `Entry` IN (910, 2337, 10760);
|
||||
|
||||
-- Adds reference loot for "Pattern: Robes of Arcana" for each creature below
|
||||
DELETE FROM `creature_loot_template` WHERE `Reference` = @ENTRY AND `Entry` IN (910, 2337, 10760);
|
||||
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
|
||||
(910, @ITEM, @ENTRY, 2, 0, 1, 0, 1, 1, 'Defias Enchanter - Pattern: Robes of Arcana'),
|
||||
(2337, @ITEM, @ENTRY, 2, 0, 1, 0, 1, 1, 'Dark Strand Voidcaller - Pattern: Robes of Arcana'),
|
||||
(10760, @ITEM, @ENTRY, 2, 0, 1, 0, 1, 1, 'Grimtotem Geomancer - Pattern: Robes of Arcana');
|
||||
Loading…
Add table
Add a link
Reference in a new issue