From 4a06256bb735a8663ecca68f9f3be106d36807d9 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Fri, 5 Jul 2024 21:16:20 -0300 Subject: [PATCH] fix(DB/Condition): Fix condition type for restoring Scale of the Sands exalted ring (#19291) * Create rev_1720214274816211200.sql * Update rev_1720214274816211200.sql --- .../updates/pending_db_world/rev_1720214274816211200.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1720214274816211200.sql diff --git a/data/sql/updates/pending_db_world/rev_1720214274816211200.sql b/data/sql/updates/pending_db_world/rev_1720214274816211200.sql new file mode 100644 index 000000000..8da4d6495 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1720214274816211200.sql @@ -0,0 +1,9 @@ +-- +UPDATE `conditions` SET `ConditionTypeOrReference` = 8 WHERE `SourceGroup` = 8234 AND `SourceTypeOrReferenceId` = 15 AND `ConditionTypeOrReference` = 9; + +DELETE FROM `gossip_menu_option` WHERE (`MenuID` = 8234); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(8234, 0, 0, 'I seem to have misplaced my ring.', 21813, 1, 1, 0, 0, 0, 0, '', 0, 55056), +(8234, 1, 0, 'I seem to have misplaced my ring.', 21813, 1, 1, 0, 0, 0, 0, '', 0, 55056), +(8234, 2, 0, 'I seem to have misplaced my ring.', 21813, 1, 1, 0, 0, 0, 0, '', 0, 55056), +(8234, 3, 0, 'I seem to have misplaced my ring.', 21813, 1, 1, 0, 0, 0, 0, '', 0, 55056);