aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2016-12-27 08:11:58 +0100
committerjoschiwald <joschiwald.trinity@gmail.com>2018-04-21 20:08:19 +0200
commitc8f969a35993e4094c3ce0d4f70a57b3463be261 (patch)
tree3aaca961e8d8f2f24f103d9ac5ff69bf3704b48e
parent70ea1c5ad4ec9c616db16d72ddfe8dcae213be27 (diff)
DB/Creature: Magrami Spectre
Closes #18610 By Rushor (cherry picked from commit 1ad6113019dab4aaf667542b16b4896a2ac16168)
-rw-r--r--sql/updates/world/master/2018_04_21_10_world_2016_12_27_01_world.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/master/2018_04_21_10_world_2016_12_27_01_world.sql b/sql/updates/world/master/2018_04_21_10_world_2016_12_27_01_world.sql
new file mode 100644
index 00000000000..cca1e505c7b
--- /dev/null
+++ b/sql/updates/world/master/2018_04_21_10_world_2016_12_27_01_world.sql
@@ -0,0 +1,14 @@
+-- Emotes for Magrami Spectre
+-- Actionlist SAI
+SET @ENTRY := 1156000;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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`,`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
+(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magrami Spectre - On Script - Set Run Off"),
+(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,1,0,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Magrami Spectre - On Script - Say Line 0"),
+(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,20,177746,70,0,0,0,0,0,"Magrami Spectre - On Script - Move To Closest Gameobject 'Ghost Magnet'"),
+(@ENTRY,9,3,0,0,0,100,0,7000,7000,0,0,49,0,0,0,0,0,0,21,30,0,0,0,0,0,0,"Magrami Spectre - On Script - Start Attacking");
+
+DELETE FROM `creature_text` WHERE `CreatureID`=11560;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
+(11560, 0, 0, '%s is drawn to the ghost magnet...', 16, 0, 100, 0, 0, 0, 7585, 'Magrami Spectre'),
+(11560, 0, 1, '%s is angered!', 16, 0, 100, 0, 0, 0, 7583, 'Magrami Spectre');