From c3a0214bce5cb3e5109865a70b4fa8899e64c443 Mon Sep 17 00:00:00 2001 From: Nefertumm Date: Wed, 10 Nov 2021 02:18:03 -0300 Subject: [PATCH] fix(DB/Loot): Green Winter Hat should drop only if Winter Veil is active (#9096) --- .../updates/pending_db_world/rev_1636491400432791100.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1636491400432791100.sql diff --git a/data/sql/updates/pending_db_world/rev_1636491400432791100.sql b/data/sql/updates/pending_db_world/rev_1636491400432791100.sql new file mode 100644 index 000000000..fbca63c97 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1636491400432791100.sql @@ -0,0 +1,7 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1636491400432791100'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 1) AND (`SourceGroup` IN (2764, 2765, 4063)) AND (`SourceEntry` = 21525); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(1, 2764, 21525, 0, 0, 12, 0, 2, 0, 0, 0, 0, 0, '', 'Green Winter Hat only drops when event 2 is active'), +(1, 2765, 21525, 0, 0, 12, 0, 2, 0, 0, 0, 0, 0, '', 'Green Winter Hat only drops when event 2 is active'), +(1, 4063, 21525, 0, 0, 12, 0, 2, 0, 0, 0, 0, 0, '', 'Green Winter Hat only drops when event 2 is active');