Skip to content

Commit

Permalink
[DBError] Add QUEST_SPECIAL_FLAG_EXPLORATION_OR_EVENT for q.5156
Browse files Browse the repository at this point in the history
Removed by hackfix of the past
  • Loading branch information
AnonXS committed Aug 15, 2023
1 parent e5d40f7 commit 8114e6c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Updates/4423_q.5156_areatrigger.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 8114e6c

Please sign in to comment.