From 8114e6c47b40ce488a1f278edf93442a94215533 Mon Sep 17 00:00:00 2001 From: AnonXS Date: Tue, 15 Aug 2023 21:25:13 +0200 Subject: [PATCH] [DBError] Add QUEST_SPECIAL_FLAG_EXPLORATION_OR_EVENT for q.5156 Removed by hackfix of the past --- Updates/4423_q.5156_areatrigger.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Updates/4423_q.5156_areatrigger.sql b/Updates/4423_q.5156_areatrigger.sql index 7ba56ac87..8c72767c2 100644 --- a/Updates/4423_q.5156_areatrigger.sql +++ b/Updates/4423_q.5156_areatrigger.sql @@ -4,3 +4,7 @@ INSERT INTO `areatrigger_involvedrelation` (`id`, `quest`) VALUES (2206, 5156), (2207, 5156), (2208, 5156); + +-- Table `areatrigger_involvedrelation` has record (id: 2206) for not quest 5156, but quest not have flag QUEST_SPECIAL_FLAG_EXPLORATION_OR_EVENT. Trigger or quest flags must be fixed, quest modified to require objective. +UPDATE `quest_template` SET `SpecialFlags` = 2 WHERE `entry` = 5156; -- Makes the quest only completable by some external event (an entry in areatrigger_involvedrelation,, spell effect quest complete or an entry in spell_scripts with command 7 as some examples) +