From 0d2493685cfd0c2a392bae0654a75656b8ee5f6f Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Fri, 18 Apr 2025 20:04:55 +0200 Subject: [PATCH] fix Blessed Medallion of Karabor key This solves the problem of not being able to enter the black temple with the blessed medallion of Karabor. It now checks if the players completed the quest to get the medallion instead. --- sql/world/base/dungeon_attunements.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sql/world/base/dungeon_attunements.sql b/sql/world/base/dungeon_attunements.sql index a7ca19f..8bc4968 100644 --- a/sql/world/base/dungeon_attunements.sql +++ b/sql/world/base/dungeon_attunements.sql @@ -6,7 +6,11 @@ REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_ty REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (47, 1, 10888, 'You must complete "The Trial of the Naaru: Magtheridon" to enter The Eye.', 2, NULL, 0, NULL); REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (62, 1, 10277, 'You must complete the quest "The Caverns of Time" to enter Old Hillsbrad.', 2, NULL, 0, NULL); REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (63, 1, 10277, 'You must complete the quest "The Caverns of Time" to enter Old Hillsbrad.', 2, NULL, 0, NULL); -REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (64, 2, 32649, 'You must possess the Medallion of Karabor to enter the Black Temple.', 2, NULL, 0, NULL); + +/* Because you should also be able to enter with the blessed Medallion of Karabor, the quest is checked instead of the item. It's not possible to do a check for item 1 or 2. + This way the requirement_note is still correct, you just don't need the item on you anymore. */ +REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES +(64, 1, 10985, 'You must possess the Medallion of Karabor to enter the Black Temple.', 2, NULL, 0, NULL); /* Maraudon Portal Requirement Script */ UPDATE `gameobject_template` SET `ScriptName` = 'go_mara_portal' WHERE `entry` = 178404;