From dee0fafc912f8cd37a8b725aea6e6d0ec4e9b36f Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Wed, 26 Nov 2025 04:26:26 -0600 Subject: [PATCH] fix(DB/Quest): Musty Coffin for Disclosure limited to 1 use (#23877) Co-authored-by: blinkysc Co-authored-by: TheSCREWEDSoftware <16946913+TheSCREWEDSoftware@users.noreply.github.com> --- .../updates/pending_db_world/rev_1763947176016424613.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1763947176016424613.sql diff --git a/data/sql/updates/pending_db_world/rev_1763947176016424613.sql b/data/sql/updates/pending_db_world/rev_1763947176016424613.sql new file mode 100644 index 000000000..6023e2dbe --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1763947176016424613.sql @@ -0,0 +1,6 @@ +-- +SET @link = 8; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 28948 AND `source_type` = 0 AND `id` = @link; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(28948, 0, @link, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 60, 0, 0, 0, 0, 14, 268515, 190949, 0, 0, 0, 0, 0, 0, 'Malmortis - On Just Summoned - Despawn Instant (Musty Coffin)'); +UPDATE `smart_scripts` SET `link` = @link WHERE `entryorguid` = 28948 AND `source_type` = 0 AND `id` = 1;