DB/Creature: Magrami Spectre
[trinitycore] / sql / updates / world / master / 2018_04_21_10_world_2016_12_27_01_world.sql
1 -- Emotes for Magrami Spectre
2 -- Actionlist SAI
3 SET @ENTRY := 1156000;
4 DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
5 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
6 (@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"),
7 (@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"),
8 (@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'"),
9 (@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");
10
11 DELETE FROM `creature_text` WHERE `CreatureID`=11560;
12 INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
13 (11560, 0, 0, '%s is drawn to the ghost magnet...', 16, 0, 100, 0, 0, 0, 7585, 'Magrami Spectre'),
14 (11560, 0, 1, '%s is angered!', 16, 0, 100, 0, 0, 0, 7583, 'Magrami Spectre');