From aa08e113d4c18454d67e909216acb964a0714407 Mon Sep 17 00:00:00 2001 From: Xepic90 Date: Wed, 17 Jun 2026 20:40:30 -0400 Subject: [PATCH] fix(DB/Conditions): Brann Bronzebeard Archivum event condition uses wrong INSTANCE_INFO type (#26212) --- .../2026_06_15_00_fix_brann_archivum_condition.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/sql/updates/pending_db_world/2026_06_15_00_fix_brann_archivum_condition.sql diff --git a/data/sql/updates/pending_db_world/2026_06_15_00_fix_brann_archivum_condition.sql b/data/sql/updates/pending_db_world/2026_06_15_00_fix_brann_archivum_condition.sql new file mode 100644 index 000000000..4d8abe73d --- /dev/null +++ b/data/sql/updates/pending_db_world/2026_06_15_00_fix_brann_archivum_condition.sql @@ -0,0 +1,9 @@ +-- DB update 2026_06_11_02 -> 2026_06_15_00 +-- +-- Fix Brann Bronzebeard (33235) SAI condition for Assembly of Iron completion check. +-- ConditionValue3=0 (INSTANCE_INFO_DATA) calls GetData() which has no handler for +-- BOSS_ASSEMBLY_OF_IRON (4) in Ulduar, always returning 0. The correct type is +-- ConditionValue3=2 (INSTANCE_INFO_BOSS_STATE) which calls GetBossState(4) == DONE(3). +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` = 13 AND `SourceEntry` = 33235; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 13, 33235, 0, 0, 13, 1, 4, 3, 2, 0, 0, 0, '', 'Execute SAI only if Assembly of Iron Done');