From 228fe7274b2ffff00fea14f223ba23de04e38225 Mon Sep 17 00:00:00 2001 From: The GhostRider Date: Wed, 30 Aug 2023 19:39:51 +0100 Subject: [PATCH 1/2] fix(DB/Conditions): quests 8353-8355-8356-8357-8311 (#17031) --- .../pending_db_world/rev_1692366711663255300.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1692366711663255300.sql diff --git a/data/sql/updates/pending_db_world/rev_1692366711663255300.sql b/data/sql/updates/pending_db_world/rev_1692366711663255300.sql new file mode 100644 index 000000000..435ebf168 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1692366711663255300.sql @@ -0,0 +1,10 @@ +-- Table Condition - Fix Quests - 8353 - 8355 - 8356 - 8357 - 8311 -- + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 19) AND (`SourceGroup` = 0) AND (`SourceEntry` IN (8353, 8355, 8356, 8357, 8311)) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 12) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 12) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 19) AND (`SourceGroup` = 0) AND (`SourceEntry` IN (8353, 8355, 8356, 8357)) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 47) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 8311) AND (`ConditionValue2` = 64) AND (`ConditionValue3` = 0); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19, 0, 8356, 0, 0, 47, 0, 8311, 64, 0, 1, 0, 0, '', 'Prevents quest from being available after completing quest Hallows End Treats for Jespers'), +(19, 0, 8355, 0, 0, 47, 0, 8311, 64, 0, 1, 0, 0, '', 'Prevents quest from being available after completing quest Hallows End Treats for Jespers'), +(19, 0, 8353, 0, 0, 47, 0, 8311, 64, 0, 1, 0, 0, '', 'Prevents quest from being available after completing quest Hallows End Treats for Jespers'), +(19, 0, 8357, 0, 0, 47, 0, 8311, 64, 0, 1, 0, 0, '', 'Prevents quest from being available after completing quest Hallows End Treats for Jespers'); From 6cd3b2a32cd97ed6824e8a20891b74e97fe34286 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Wed, 30 Aug 2023 18:41:54 +0000 Subject: [PATCH 2/2] chore(DB): import pending files Referenced commit(s): 228fe7274b2ffff00fea14f223ba23de04e38225 --- .../rev_1692366711663255300.sql => db_world/2023_08_30_00.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1692366711663255300.sql => db_world/2023_08_30_00.sql} (97%) diff --git a/data/sql/updates/pending_db_world/rev_1692366711663255300.sql b/data/sql/updates/db_world/2023_08_30_00.sql similarity index 97% rename from data/sql/updates/pending_db_world/rev_1692366711663255300.sql rename to data/sql/updates/db_world/2023_08_30_00.sql index 435ebf168..091ed8885 100644 --- a/data/sql/updates/pending_db_world/rev_1692366711663255300.sql +++ b/data/sql/updates/db_world/2023_08_30_00.sql @@ -1,3 +1,4 @@ +-- DB update 2023_08_25_02 -> 2023_08_30_00 -- Table Condition - Fix Quests - 8353 - 8355 - 8356 - 8357 - 8311 -- DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 19) AND (`SourceGroup` = 0) AND (`SourceEntry` IN (8353, 8355, 8356, 8357, 8311)) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 12) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 12) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0);