From 701361d8395fb579fa01d3d4e4ada4b10eb8b51f Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Tue, 6 Sep 2022 21:26:39 -0300 Subject: [PATCH] fix(DB/Quests): Proof of Demise (374) available without prequest (#12875) Co-authored-by: Mathematical --- data/sql/updates/pending_db_world/rev_1661649172326868600.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1661649172326868600.sql diff --git a/data/sql/updates/pending_db_world/rev_1661649172326868600.sql b/data/sql/updates/pending_db_world/rev_1661649172326868600.sql new file mode 100644 index 000000000..baa221320 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1661649172326868600.sql @@ -0,0 +1,4 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry`=374; + +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19, 0, 374, 0, 0, 8, 0, 427, 0, 0, 0, 0, 0, '', 'Enable quest 374, only if the player has completed quest 427.');