From c494f2ff70c7095d2667bb532ce7e45e016c16b4 Mon Sep 17 00:00:00 2001 From: Dan <83884799+elthehablo@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:16:03 +0100 Subject: [PATCH] fix(DB/SAI): change the way Phoenix Hawk targets players with its abilities (#18309) * initial * update conditions --- data/sql/updates/pending_db_world/phoenix-hawk-targets.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/sql/updates/pending_db_world/phoenix-hawk-targets.sql diff --git a/data/sql/updates/pending_db_world/phoenix-hawk-targets.sql b/data/sql/updates/pending_db_world/phoenix-hawk-targets.sql new file mode 100644 index 000000000..2c46f84e8 --- /dev/null +++ b/data/sql/updates/pending_db_world/phoenix-hawk-targets.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` = 20039 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 +(20039, 0, 0, 0, 0, 0, 100, 0, 9700, 12200, 18050, 30950, 0, 0, 11, 37156, 0, 0, 0, 0, 0, 28, 45, 1, 1, 0, 0, 0, 0, 0, 'Phoenix-Hawk - In Combat - Cast Dive'), +(20039, 0, 1, 0, 0, 0, 100, 0, 6450, 9150, 16950, 29050, 0, 0, 11, 37159, 256, 0, 0, 0, 0, 17, 0, 30, 0, 0, 0, 0, 0, 0, 'Phoenix-Hawk - In Combat - Cast Mana Burn');