From d7bfa944784cbcb24fcb0a1bbd24c8ae0dc90a06 Mon Sep 17 00:00:00 2001 From: IntelligentQuantum Date: Sat, 16 Nov 2024 13:50:54 +0330 Subject: [PATCH] Fix(SQL/SAI): dawnblade marksman distance (#20543) * Fix(Scripts/Queldanas): dawnblade marksman distance * Update rev_1731487213354414876.sql * Update zone_isle_of_queldanas.cpp * Update rev_1731487213354414876.sql * Update rev_1731487213354414876.sql * Update rev_1731487213354414876.sql --------- Co-authored-by: Rocco Silipo <108557877+Rorschach91@users.noreply.github.com> --- .../sql/updates/pending_db_world/rev_1731487213354414876.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1731487213354414876.sql diff --git a/data/sql/updates/pending_db_world/rev_1731487213354414876.sql b/data/sql/updates/pending_db_world/rev_1731487213354414876.sql new file mode 100644 index 000000000..4f54c2a3a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1731487213354414876.sql @@ -0,0 +1,5 @@ + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 24979) AND (`source_type` = 0) AND (`id` IN (0, 1)); +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 +(24979, 0, 0, 0, 1, 0, 100, 0, 3000, 3000, 5000, 5000, 0, 0, 11, 45101, 0, 0, 0, 0, 0, 19, 5202, 26, 0, 0, 0, 0, 0, 0, 'Dawnblade Marksman - Out of Combat - Cast \'Flaming Arrow\''), +(24979, 0, 1, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 0, 0, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Dawnblade Marksman - In Combat - Cast \'Shoot\'');