From 780c24044018ee2d9d30a25f7ad57e0cf2108834 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Thu, 3 Jul 2025 07:06:19 +0100 Subject: [PATCH] fix(DB/SAI) - Corrects Corpse.Decay for Patchwerk from the end of the Death Knight zone (#22412) --- data/sql/updates/pending_db_world/rev_1751514394329775600.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1751514394329775600.sql diff --git a/data/sql/updates/pending_db_world/rev_1751514394329775600.sql b/data/sql/updates/pending_db_world/rev_1751514394329775600.sql new file mode 100644 index 000000000..e70b5ef8a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1751514394329775600.sql @@ -0,0 +1,4 @@ +-- Forces dispawn ignoring the "boss" rank for corpseDecay, his body should dispawn 20 seconds of dying and spawn 2 mins after +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 31099 AND `id` = 3; +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 +(31099, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 20000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Patchwerk - On Just Died - Despawn In 20000 ms');