From b7f025524837174b6f7c87acdad18d9cd42ec42d Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Sat, 21 Oct 2023 15:47:53 -0300 Subject: [PATCH] fix(DB/Loot): Remove Badge of Justice from Karazhan chess (#359) --- .../sql/world/progression_0_creature_loot_template.sql | 2 ++ src/Bracket_80_2/sql/world/progression_80_2_creature.sql | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/Bracket_70_2_2/sql/world/progression_0_creature_loot_template.sql b/src/Bracket_70_2_2/sql/world/progression_0_creature_loot_template.sql index 98a87450..526e8369 100644 --- a/src/Bracket_70_2_2/sql/world/progression_0_creature_loot_template.sql +++ b/src/Bracket_70_2_2/sql/world/progression_0_creature_loot_template.sql @@ -1,2 +1,4 @@ -- Philanthropist should drop gold UPDATE `creature_template` SET `mingold` = 110000, `maxgold` = 130000 WHERE (`entry` = 16470); +-- No badge of justice from chess +DELETE FROM `gameobject_loot_template` WHERE `Item` = 29434 AND `Entry` = 20712; diff --git a/src/Bracket_80_2/sql/world/progression_80_2_creature.sql b/src/Bracket_80_2/sql/world/progression_80_2_creature.sql index d7a3ae33..8229c77b 100644 --- a/src/Bracket_80_2/sql/world/progression_80_2_creature.sql +++ b/src/Bracket_80_2/sql/world/progression_80_2_creature.sql @@ -3,3 +3,7 @@ UPDATE `creature` SET `phaseMask` = 1 WHERE `id1` = 33993; -- restore no gold from kara philantropist UPDATE `creature_template` SET `mingold` = 0, `maxgold` = 0 WHERE (`entry` = 16470); +-- Restore Badge of Justice to kara chess +DELETE FROM `gameobject_loot_template` WHERE `Item` = 29434 AND `Entry` = 20712; +INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(20712,29434,0,100,0,1,0,1,1,'Dust Covered Chest - Badge of Justice');