From bcfcdbdb4c4a02d0c7468bf096fdcf998c05ffc7 Mon Sep 17 00:00:00 2001 From: sudlud Date: Wed, 27 Nov 2024 21:26:02 +0100 Subject: [PATCH] =?UTF-8?q?fix(DB/item=5Ftemplate):=20add=20flag=20CU=5FDU?= =?UTF-8?q?RATION=5FREAL=5FTIME=20to=20Pilgrim's=20Bo=E2=80=A6=20(#20756)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(DB/item_template): add flag CU_DURATION_REAL_TIME to Pilgrim's Bounty items * set duration to 7 days --- .../rev_1732725060262033200.sql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1732725060262033200.sql diff --git a/data/sql/updates/pending_db_world/rev_1732725060262033200.sql b/data/sql/updates/pending_db_world/rev_1732725060262033200.sql new file mode 100644 index 00000000000000..06cea99820c4de --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1732725060262033200.sql @@ -0,0 +1,21 @@ +-- add flag CU_DURATION_REAL_TIME to Pilgrim's Bounty items +-- Wild Turkey +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 44834); +-- Recipe: Cranberry Chutney +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 44858); +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 46805); +-- Recipe: Candied Sweet Potato +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 44859); +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 46806); +-- Recipe: Spice Bread Stuffing +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 44860); +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 46803); +-- Recipe: Slow-Roasted Turkey +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 44861); +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 46807); +-- Recipe: Pumpkin Pie +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 44862); +UPDATE `item_template` SET `flagsCustom` = (`flagsCustom` | 1) WHERE (`entry` = 46804); + +-- set duration to 7 days +UPDATE `item_template` SET `duration` = 604800 WHERE (`entry` IN (44858, 46805, 44859, 46806, 44860, 46803, 44861, 46807, 44862, 46804));