diff options
| author | Malcrom <malcromdev@gmail.com> | 2012-05-25 23:25:47 -0230 |
|---|---|---|
| committer | Malcrom <malcromdev@gmail.com> | 2012-05-25 23:25:47 -0230 |
| commit | eb08c4d4b4a35a178f6368ed4a4388f74d3cc04e (patch) | |
| tree | 1f2bc11ce342b96a7f927a381491166b8531389a | |
| parent | c40d86f05f5857b73015f09eb68b7dfdd7224a1f (diff) | |
DB/SAI: Visual addition to Pit of Saron
| -rw-r--r-- | sql/updates/world/2012_05_25_00_world_sai.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/2012_05_25_00_world_sai.sql b/sql/updates/world/2012_05_25_00_world_sai.sql new file mode 100644 index 00000000000..fa5682db02f --- /dev/null +++ b/sql/updates/world/2012_05_25_00_world_sai.sql @@ -0,0 +1,6 @@ +-- Eye of the Lich King SAI +SET @ENTRY := 36913; -- NPC entry +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +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,0,0,0,1,0,100,6,0,0,1000,1000,66,0,0,0,0,0,0,21,150,0,0,0,0,0,0, 'Eye of the Lich King - OOC - face closest player'); |
