mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
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.
62 lines
5.2 KiB
SQL
62 lines
5.2 KiB
SQL
REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (15, 2, 16309, NULL, 2, NULL, 0, NULL);
|
|
REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (16, 2, 16309, NULL, 2, NULL, 0, NULL);
|
|
REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (32, 1, 10445, 'You must complete the quest "The Vials of Eternity" and be level 70 before entering The Battle of Mount Hyjal.', 2, NULL, 0, NULL);
|
|
REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (46, 1, 10901, 'You must complete the quest "The Cudgel of Kar\'desh" and be level 70 before entering Serpentshrine Reservoir.', 2, NULL, 0, NULL);
|
|
REPLACE INTO `dungeon_access_requirements` (`dungeon_access_id`, `requirement_type`, `requirement_id`, `requirement_note`, `faction`, `priority`, `leader_only`, `comment`) VALUES (47, 2, 31704, 'You must possess The Tempest Key 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 (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);
|
|
|
|
/* 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;
|
|
|
|
/* TBC Attunement Quests - Restore pre-3.0 version */
|
|
DELETE FROM `creature_questender` WHERE `id`=22421 AND `quest`=13431;
|
|
DELETE FROM `creature_questender` WHERE `id`=22421 AND `quest`=10901;
|
|
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (22421, 10901);
|
|
|
|
-- Adds The Mark of Vashj spell to The Cudgel of Kar'desh (cosmetic)
|
|
UPDATE `quest_template` SET `RewardSpell` = 39145 WHERE (`ID` = 10901);
|
|
|
|
DELETE FROM `creature_queststarter` WHERE `id`=22421 AND `quest`=13431;
|
|
DELETE FROM `creature_queststarter` WHERE `id`=22421 AND `quest`=10901;
|
|
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (22421, 10901);
|
|
|
|
DELETE FROM `creature_questender` WHERE `id`=18481 AND `quest`=13430;
|
|
|
|
DELETE FROM `creature_queststarter` WHERE `id`=18481 AND `quest`=13430;
|
|
DELETE FROM `creature_queststarter` WHERE `id`=18481 AND `quest`=10888;
|
|
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (18481, 10888);
|
|
|
|
DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` = 10888;
|
|
DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` = 10901;
|
|
UPDATE `quest_template` SET `QuestType` = 2 WHERE `ID` = 10901;
|
|
UPDATE `quest_template_addon` SET `NextQuestID` = 10888 WHERE `ID` = 10884;
|
|
UPDATE `quest_template_addon` SET `NextQuestID` = 10888 WHERE `ID` = 10885;
|
|
UPDATE `quest_template_addon` SET `NextQuestID` = 10888 WHERE `ID` = 10886;
|
|
|
|
/* The Vials of Eternity */
|
|
DELETE FROM `creature_questender` WHERE `id` = 19935 AND `quest` = 13432;
|
|
DELETE FROM `creature_queststarter` WHERE `id` = 19935 AND `quest` = 13432;
|
|
REPLACE INTO `creature_queststarter` (`id`, `quest`) VALUES (19935, 10445);
|
|
|
|
/* A Distraction for Akama(13429) - Restore pre-3.0 version */
|
|
UPDATE `quest_template` SET `RewardNextQuest` = 10985 WHERE `ID` = 10949;
|
|
|
|
/* Reward Title Scarab Lord */
|
|
UPDATE `quest_template` SET `RewardTitle` = 46 WHERE `ID` = 8743;
|
|
|
|
/* Reward Title Champion of the Naaru and Reward Item The Tempest Key */
|
|
UPDATE `quest_template` SET `RewardItem1` = 31704, `RewardAmount1` = 1, `RewardItem2` = 31746, `RewardAmount2` = 1, `RewardTitle` = 53 WHERE `ID` = 10888;
|
|
DELETE FROM `achievement_reward` WHERE `ID` = 432;
|
|
DELETE FROM `achievement_reward_locale` WHERE `ID` = 432 AND `Locale` = 'frFR';
|
|
|
|
/* Reward Title Hand of A'dal */
|
|
REPLACE INTO `achievement_reward` (`ID`, `TitleA`, `TitleH`, `ItemID`, `Sender`, `Subject`, `Body`, `MailTemplateID`) VALUES (431, 64, 64, 0, 0, NULL, NULL, 0);
|
|
|