From d0c26820593c2eb54df428b973e406dd5ea9b8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Bertelsen?= Date: Tue, 11 Aug 2026 15:48:38 +0200 Subject: [PATCH] fix(DB/Object): spawn the Heart of the Mountain in Blackrock Depths (#26975) Co-authored-by: Claude Fable 5 --- .../pending_db_world/rev_1785886834436284800.sql | 12 ++++++++++++ .../pending_db_world/rev_1785887113483878600.sql | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1785886834436284800.sql create mode 100644 data/sql/updates/pending_db_world/rev_1785887113483878600.sql diff --git a/data/sql/updates/pending_db_world/rev_1785886834436284800.sql b/data/sql/updates/pending_db_world/rev_1785886834436284800.sql new file mode 100644 index 0000000000..e5d7400d09 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1785886834436284800.sql @@ -0,0 +1,12 @@ +-- +-- Spawn the missing Heart of the Mountain object (165554) next to the Secret Safe +-- in Blackrock Depths and stop its quest item from dropping from the Secret Safe +-- itself (closes issue 9736). Position from cmangos wotlk-db, respawn time from +-- cmangos classic-db/tbc-db. The short respawn lets every group member on the +-- quest loot their own Heart, since the chest is consumable. The quest item in +-- loot 11160 is already QuestRequired. +DELETE FROM `gameobject` WHERE `guid` = 57 AND `id` = 165554; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES +(57, 165554, 230, 0, 0, 1, 1, 802.907, -356.401, -48.9423, -0.785397, 0, 0, -0.382683, 0.92388, 10, 100, 1, '', 0, NULL); + +DELETE FROM `gameobject_loot_template` WHERE `Entry` = 161495 AND `Item` = 11309; diff --git a/data/sql/updates/pending_db_world/rev_1785887113483878600.sql b/data/sql/updates/pending_db_world/rev_1785887113483878600.sql new file mode 100644 index 0000000000..09474d2293 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1785887113483878600.sql @@ -0,0 +1,5 @@ +-- +-- The Heart of the Mountain is interactable regardless of the vault event +-- (wowhead comments); physical access is already gated by the Secret Door, +-- so drop the GO_FLAG_INTERACT_COND from its template addon. +UPDATE `gameobject_template_addon` SET `flags` = 0 WHERE `entry` = 165554;