From a25e67d9f3dcb1221c8c7d77c47fb1871f57c4ae Mon Sep 17 00:00:00 2001 From: Dan1l-sh <99441165+Dan1l-sh@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:01:43 +0300 Subject: [PATCH 1/7] fix(DB/SAI) fix terokk dawnfall quest --- .../2026_01_24_01_terokk_dawnfall.sql | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql diff --git a/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql new file mode 100644 index 0000000000..6bed43b035 --- /dev/null +++ b/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql @@ -0,0 +1,56 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid` = 23377 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 +(23377, 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 53, 1, 23377, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Skyguard Ace - On Respawn - Start Waypoint Movement'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 23377 AND `id` IN (4, 5, 6); +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 +(23377,0,4,0,38,0,100,0,2,2,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0.0,0.0,0.0,0.0,'On Data Set - Talk 2'), +(23377,0,5,0,38,0,100,0,3,3,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0.0,0.0,0.0,0.0,'On Data Set - Talk 3'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 2183800; +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 +(2183800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Set Immune Flags'), +(2183800, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 24240, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Summon Lightning Spell'), +(2183800, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 11, 39579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Shadow Form'), +(2183800, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Summon Talk'), +(2183800, 9, 4, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Remove Immune Flags'), +(2183800, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Attack Invoker'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 2183801; +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 +(2183801, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 40726, 0, 0, 0, 0, 0, 5, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Cast "Chosen One"'), +(2183801, 9, 1, 0, 0, 0, 100, 0, 500, 500, 0, 0, 0, 0, 11, 40722, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Cast "Will of the Arakkoa God"'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 21838 AND `id` = 19; +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 +(21838, 0, 19, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 12, 23377, 3, 240000, 0, 0, 0, 8, 0, 0, 0, 0, -3771.6, 3499.32, 317.88, 2.5, 'Terokk - On Aggro Summon "Skyguard Ace"'); + +UPDATE `smart_scripts` SET `target_type` = 19 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14); +UPDATE `smart_scripts` SET `action_param1` = 2, `action_param2` = 2, `comment` = 'Terokk - Between 0-50% Health - Set Data 2 2 (Skyguard Ace) (No Repeat)' WHERE `entryorguid` = 21838 AND `id` = 4; +UPDATE `smart_scripts` SET `target_param1` = 23377 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14); +UPDATE `smart_scripts` SET `action_param1` = 1, `action_param2` = 1 WHERE `entryorguid` = 21838 AND `id` = 7; + + +DELETE FROM `creature_text` WHERE `CreatureID` = 21838 AND `GroupID` = 3; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) +VALUES (21838,3,0,'Who calls me to this world? The stars are not yet aligned... my powers fail me! You will pay for this!',14,0,100.0,0,0,0,21639,0,'Terokk'); + +UPDATE `creature_text` SET `Text` = 'Kwa! You cannot kill me, I am immortal!' WHERE `CreatureID` = 21838 AND `GroupID` = 1; +UPDATE `creature_text` SET `BroadcastTextId` = 24020 WHERE `CreatureID` = 21838 AND `GroupID` = 1; + +UPDATE `creature_text` SET `BroadcastTextId` = 21439 WHERE `CreatureID` = 23377 AND `GroupID` = 0; +UPDATE `creature_text` SET `BroadcastTextId` = 24021 WHERE `CreatureID` = 23377 AND `GroupID` = 1; + +DELETE FROM `creature_text` WHERE `CreatureID` = 23377 AND `GroupID` = 3; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23377,3,0,'They did it! Enemy down! Return to base!',14,0,100.0,0,0,0,21437,0,'Skyguard Ace'); + +UPDATE `creature_template` SET `unit_flags` = 2 WHERE `entry` = 23377; + +DELETE FROM `waypoints` WHERE `entry` = 23377; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `point_comment`) VALUES +(23377, 1, -3774.55, 3514.51, 325.551, NULL, 0, 'Skyguard Ace'), +(23377, 2, -3794.88, 3497.48, 325.551, NULL, 0, 'Skyguard Ace'), +(23377, 3, -3808.63, 3515.7, 325.551, NULL, 0, 'Skyguard Ace'), +(23377, 4, -3783.6, 3524.59, 325.551, NULL, 0, 'Skyguard Ace'); + From 679e75f64204779d600ab8fbaa69c88e6645715f Mon Sep 17 00:00:00 2001 From: Dan1l-sh <99441165+Dan1l-sh@users.noreply.github.com> Date: Sun, 25 Jan 2026 13:25:52 +0300 Subject: [PATCH 2/7] add 23377 texts --- .../sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql index 6bed43b035..a29c11fada 100644 --- a/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql +++ b/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql @@ -38,11 +38,10 @@ VALUES (21838,3,0,'Who calls me to this world? The stars are not yet aligned... UPDATE `creature_text` SET `Text` = 'Kwa! You cannot kill me, I am immortal!' WHERE `CreatureID` = 21838 AND `GroupID` = 1; UPDATE `creature_text` SET `BroadcastTextId` = 24020 WHERE `CreatureID` = 21838 AND `GroupID` = 1; -UPDATE `creature_text` SET `BroadcastTextId` = 21439 WHERE `CreatureID` = 23377 AND `GroupID` = 0; -UPDATE `creature_text` SET `BroadcastTextId` = 24021 WHERE `CreatureID` = 23377 AND `GroupID` = 1; - -DELETE FROM `creature_text` WHERE `CreatureID` = 23377 AND `GroupID` = 3; +DELETE FROM `creature_text` WHERE `CreatureID` = 23377; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23377,1,0,'Quickly! Use the flames and support ground troops. Its ancient magic should cleanse Terokk''s shield.',14,0,100.0,0,0,0,24021,0,'Skyguard Ace'), +(23377,2,0,'Enemy sighted! Fall into formation and prepare for bombing maneuvers!',14,0,100.0,0,0,0,21439,0,'Skyguard Ace'), (23377,3,0,'They did it! Enemy down! Return to base!',14,0,100.0,0,0,0,21437,0,'Skyguard Ace'); UPDATE `creature_template` SET `unit_flags` = 2 WHERE `entry` = 23377; From 5369a8021d1cd6bb796e0782ea693d50d087ae70 Mon Sep 17 00:00:00 2001 From: Dan1l-sh <99441165+Dan1l-sh@users.noreply.github.com> Date: Mon, 26 Jan 2026 01:06:03 +0300 Subject: [PATCH 3/7] add source_type in delete --- .../updates/db_world/2026_01_24_01_terokk_dawnfall.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql index a29c11fada..a53c74bf60 100644 --- a/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql +++ b/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql @@ -1,13 +1,13 @@ -DELETE FROM `smart_scripts` WHERE `entryorguid` = 23377 AND `id` = 3; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 23377 AND `id` = 3 AND `source_type` = 0; 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 (23377, 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 53, 1, 23377, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Skyguard Ace - On Respawn - Start Waypoint Movement'); -DELETE FROM `smart_scripts` WHERE `entryorguid` = 23377 AND `id` IN (4, 5, 6); +DELETE FROM `smart_scripts` WHERE `entryorguid` = 23377 AND `id` IN (4, 5, 6) AND `source_type` = 0; 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 (23377,0,4,0,38,0,100,0,2,2,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0.0,0.0,0.0,0.0,'On Data Set - Talk 2'), (23377,0,5,0,38,0,100,0,3,3,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0.0,0.0,0.0,0.0,'On Data Set - Talk 3'); -DELETE FROM `smart_scripts` WHERE `entryorguid` = 2183800; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 2183800 AND `source_type` = 9; 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 (2183800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Set Immune Flags'), (2183800, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 24240, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Summon Lightning Spell'), @@ -16,12 +16,12 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (2183800, 9, 4, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Remove Immune Flags'), (2183800, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Attack Invoker'); -DELETE FROM `smart_scripts` WHERE `entryorguid` = 2183801; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 2183801 AND `source_type` = 9; 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 (2183801, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 40726, 0, 0, 0, 0, 0, 5, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Cast "Chosen One"'), (2183801, 9, 1, 0, 0, 0, 100, 0, 500, 500, 0, 0, 0, 0, 11, 40722, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 'Terokk - On Script - Cast "Will of the Arakkoa God"'); -DELETE FROM `smart_scripts` WHERE `entryorguid` = 21838 AND `id` = 19; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 21838 AND `id` = 19 AND `source_type` = 0; 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 (21838, 0, 19, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 12, 23377, 3, 240000, 0, 0, 0, 8, 0, 0, 0, 0, -3771.6, 3499.32, 317.88, 2.5, 'Terokk - On Aggro Summon "Skyguard Ace"'); From ad626629898ced0677e2fe4893f4ae93dc75a9ef Mon Sep 17 00:00:00 2001 From: Dan1l-sh <99441165+Dan1l-sh@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:11:54 +0300 Subject: [PATCH 4/7] path --- .../2026_01_24_01_terokk_dawnfall.sql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/sql/updates/{db_world => pending_db_world}/2026_01_24_01_terokk_dawnfall.sql (100%) diff --git a/data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql similarity index 100% rename from data/sql/updates/db_world/2026_01_24_01_terokk_dawnfall.sql rename to data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql From 8e01815f9befa5d44adc9a77ae5dcc1dcf0607c9 Mon Sep 17 00:00:00 2001 From: Dan1l-sh <99441165+Dan1l-sh@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:18:54 +0300 Subject: [PATCH 5/7] + --- .../pending_db_world/2026_01_24_01_terokk_dawnfall.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql index a53c74bf60..be84fc8b79 100644 --- a/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql +++ b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql @@ -30,10 +30,9 @@ UPDATE `smart_scripts` SET `action_param1` = 2, `action_param2` = 2, `comment` = UPDATE `smart_scripts` SET `target_param1` = 23377 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14); UPDATE `smart_scripts` SET `action_param1` = 1, `action_param2` = 1 WHERE `entryorguid` = 21838 AND `id` = 7; - DELETE FROM `creature_text` WHERE `CreatureID` = 21838 AND `GroupID` = 3; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) -VALUES (21838,3,0,'Who calls me to this world? The stars are not yet aligned... my powers fail me! You will pay for this!',14,0,100.0,0,0,0,21639,0,'Terokk'); +VALUES (21838,3,0,'Who calls me to this world? The stars are not yet aligned... my powers fail me! You will pay for this!',14,0,100.0,0,0,0,21639,0,'Terokk'); UPDATE `creature_text` SET `Text` = 'Kwa! You cannot kill me, I am immortal!' WHERE `CreatureID` = 21838 AND `GroupID` = 1; UPDATE `creature_text` SET `BroadcastTextId` = 24020 WHERE `CreatureID` = 21838 AND `GroupID` = 1; @@ -52,4 +51,3 @@ INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `positi (23377, 2, -3794.88, 3497.48, 325.551, NULL, 0, 'Skyguard Ace'), (23377, 3, -3808.63, 3515.7, 325.551, NULL, 0, 'Skyguard Ace'), (23377, 4, -3783.6, 3524.59, 325.551, NULL, 0, 'Skyguard Ace'); - From eab03f2081d75db00f1b73e29fd0f263756d7e0e Mon Sep 17 00:00:00 2001 From: Dan1l-sh <99441165+Dan1l-sh@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:22:23 +0300 Subject: [PATCH 6/7] + --- .../updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql index be84fc8b79..ad5e0a9b0b 100644 --- a/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql +++ b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql @@ -31,7 +31,7 @@ UPDATE `smart_scripts` SET `target_param1` = 23377 WHERE `entryorguid` = 21838 A UPDATE `smart_scripts` SET `action_param1` = 1, `action_param2` = 1 WHERE `entryorguid` = 21838 AND `id` = 7; DELETE FROM `creature_text` WHERE `CreatureID` = 21838 AND `GroupID` = 3; -INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES (21838,3,0,'Who calls me to this world? The stars are not yet aligned... my powers fail me! You will pay for this!',14,0,100.0,0,0,0,21639,0,'Terokk'); UPDATE `creature_text` SET `Text` = 'Kwa! You cannot kill me, I am immortal!' WHERE `CreatureID` = 21838 AND `GroupID` = 1; From f64644b711c6c10ded5f3b2f2ede5cc619cd42af Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Wed, 28 Jan 2026 11:04:31 -0300 Subject: [PATCH 7/7] source_type --- .../2026_01_24_01_terokk_dawnfall.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql index ad5e0a9b0b..4e7e9b2ae4 100644 --- a/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql +++ b/data/sql/updates/pending_db_world/2026_01_24_01_terokk_dawnfall.sql @@ -25,14 +25,14 @@ DELETE FROM `smart_scripts` WHERE `entryorguid` = 21838 AND `id` = 19 AND `sourc 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 (21838, 0, 19, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 12, 23377, 3, 240000, 0, 0, 0, 8, 0, 0, 0, 0, -3771.6, 3499.32, 317.88, 2.5, 'Terokk - On Aggro Summon "Skyguard Ace"'); -UPDATE `smart_scripts` SET `target_type` = 19 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14); -UPDATE `smart_scripts` SET `action_param1` = 2, `action_param2` = 2, `comment` = 'Terokk - Between 0-50% Health - Set Data 2 2 (Skyguard Ace) (No Repeat)' WHERE `entryorguid` = 21838 AND `id` = 4; -UPDATE `smart_scripts` SET `target_param1` = 23377 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14); -UPDATE `smart_scripts` SET `action_param1` = 1, `action_param2` = 1 WHERE `entryorguid` = 21838 AND `id` = 7; +UPDATE `smart_scripts` SET `target_type` = 19 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14) AND `source_type` = 0; +UPDATE `smart_scripts` SET `action_param1` = 2, `action_param2` = 2, `comment` = 'Terokk - Between 0-50% Health - Set Data 2 2 (Skyguard Ace) (No Repeat)' WHERE `entryorguid` = 21838 AND `id` = 4 AND `source_type` = 0; +UPDATE `smart_scripts` SET `target_param1` = 23377 WHERE `entryorguid` = 21838 AND `id` IN (4, 7, 13, 14) AND `source_type` = 0; +UPDATE `smart_scripts` SET `action_param1` = 1, `action_param2` = 1 WHERE `entryorguid` = 21838 AND `id` = 7 AND `source_type` = 0; DELETE FROM `creature_text` WHERE `CreatureID` = 21838 AND `GroupID` = 3; -INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) -VALUES (21838,3,0,'Who calls me to this world? The stars are not yet aligned... my powers fail me! You will pay for this!',14,0,100.0,0,0,0,21639,0,'Terokk'); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES + (21838,3,0,'Who calls me to this world? The stars are not yet aligned... my powers fail me! You will pay for this!',14,0,100.0,0,0,0,21639,0,'Terokk'); UPDATE `creature_text` SET `Text` = 'Kwa! You cannot kill me, I am immortal!' WHERE `CreatureID` = 21838 AND `GroupID` = 1; UPDATE `creature_text` SET `BroadcastTextId` = 24020 WHERE `CreatureID` = 21838 AND `GroupID` = 1;