aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraftedRO <CraftedRO@users.noreply.github.com>2021-10-08 16:59:50 +0300
committerShauren <shauren.trinity@gmail.com>2022-03-19 23:30:50 +0100
commit5b9686de23e04e5282f6a50fe63c76caadfc47b8 (patch)
treebefbc2769cfe12ead2b7ed84a32e185effaa359d
parent47bcacd00a3124e801672f57afd4557ccbbe93b6 (diff)
DB/Creature: Add script to Stormpeak Wyrm
Closes #26272 (cherry picked from commit 2ef8c9c870f05e3fc645a02c7f9ce59cd43ee6dc)
-rw-r--r--sql/updates/world/master/2022_03_19_09_world_2021_10_08_00_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_19_09_world_2021_10_08_00_world.sql b/sql/updates/world/master/2022_03_19_09_world_2021_10_08_00_world.sql
new file mode 100644
index 00000000000..f848ee97abb
--- /dev/null
+++ b/sql/updates/world/master/2022_03_19_09_world_2021_10_08_00_world.sql
@@ -0,0 +1,5 @@
+--
+UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 29753;
+DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 29753);
+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`, `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
+(29753, 0, 0, 0, 0, 0, 100, 0, 3000, 6000, 9000, 12000, 0, 11, 57833, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, "Stormpeak Wyrm - In Combat - Cast 'Frost Spit'");