aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenoX92 <ZenoX92@users.noreply.github.com>2017-11-01 18:54:03 +0100
committerfunjoker <funjoker109@gmail.com>2021-01-29 19:23:53 +0100
commit5a99860e0b9af2c73a41a6c88aedf2cb1ffc8737 (patch)
tree7b273e1e0891da44f40f7bde892afd112d3540a2
parent567431aea055751d69f6ebc324928a89207dcc60 (diff)
DB/Creature: Zaetar's Spirit
Closes #20761 (cherry picked from commit 2f768822507381d9a70abc10e14084cf50f618d1)
-rw-r--r--sql/updates/world/master/2021_01_24_00_world_2017_11_01_09_world.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_01_24_00_world_2017_11_01_09_world.sql b/sql/updates/world/master/2021_01_24_00_world_2017_11_01_09_world.sql
new file mode 100644
index 00000000000..52ad62f3188
--- /dev/null
+++ b/sql/updates/world/master/2021_01_24_00_world_2017_11_01_09_world.sql
@@ -0,0 +1,9 @@
+-- Zaetar's Spirit
+DELETE FROM `creature_text` WHERE `CreatureID`=12238;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(12238,0,0,"Free! Free from my bonds at last!",14,0,100,0,0,0,8922,0,"Zaetar's Spirit");
+
+UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12238;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=12238 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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(12238,0,0,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Zaetar's Spirit - On Just Summoned - Say Line 0");