From e93bb0d610d8c45ea232848c5ac7dd0c52ee976f Mon Sep 17 00:00:00 2001 From: Rocco Silipo <108557877+Rorschach91@users.noreply.github.com> Date: Fri, 28 Nov 2025 12:37:51 +0100 Subject: [PATCH] =?UTF-8?q?fix(DB/SAI):=20Ensure=20completion=20of=20the?= =?UTF-8?q?=20quest=20=E2=80=98The=20Flesh=20Giant=20Champion=E2=80=99.=20?= =?UTF-8?q?(#23946)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../updates/pending_db_world/Giant_Champion.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 data/sql/updates/pending_db_world/Giant_Champion.sql diff --git a/data/sql/updates/pending_db_world/Giant_Champion.sql b/data/sql/updates/pending_db_world/Giant_Champion.sql new file mode 100644 index 000000000..848c40294 --- /dev/null +++ b/data/sql/updates/pending_db_world/Giant_Champion.sql @@ -0,0 +1,14 @@ + +-- Morbidus send a set data to Dhakar on death. +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 30698; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 30698) AND (`source_type` = 0) AND (`id` IN (2)); +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 +(30698, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 10, 74974, 31306, 0, 0, 0, 0, 0, 0, 'Morbidus - On Just Died - Set Data 1 2'); + +-- Margrave Dhakar gives credit to stored target on data set. +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 31306; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 31306) AND (`source_type` = 0) AND (`id` IN (11)); +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 +(31306, 0, 11, 0, 38, 0, 100, 0, 1, 2, 0, 0, 0, 0, 33, 30698, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Margrave Dhakar - On Data Set 1 2 - Quest Credit \'Morbidus\'');