From 2fe7c4431c36029796972f624a0af3d55745ce24 Mon Sep 17 00:00:00 2001 From: mpfans Date: Mon, 16 May 2022 23:04:11 +0800 Subject: [PATCH] fix(DB/quest): Forging an Alliance require A Spark of Hope + Mending Fences Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com> --- .../updates/pending_db_world/rev_1652695614137243222.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1652695614137243222.sql diff --git a/data/sql/updates/pending_db_world/rev_1652695614137243222.sql b/data/sql/updates/pending_db_world/rev_1652695614137243222.sql new file mode 100644 index 000000000..798590609 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1652695614137243222.sql @@ -0,0 +1,8 @@ +-- fixed quest 12924 spell area +UPDATE `spell_area` SET `quest_start` = 12956 WHERE `spell` = 55858; + +-- (Quests) Forging an Alliance require A Spark of Hope + Mending Fences +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `SourceEntry`=12924; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19, 0, 12924, 0, 0, 8, 0, 12956, 0, 0, 0, 0, 0, '', 'Forging an Alliance - Requires quest rewarded'), +(19, 0, 12924, 0, 0, 8, 0, 12915, 0, 0, 0, 0, 0, '', 'Forging an Alliance - Requires quest rewarded');