Advertisement
k0s02

Untitled

Jun 4th, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. -- SAI
  2. SET @ENTRY := 999363;
  3. UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
  4. DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
  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,0,0,0,0,0,100,0,4000,4000,10000000,10000000,11,105490,0,0,0,0,0,1,0,0,0,0,0,0,0,"<Could not generate name> - In Combat - Cast '<Spell not found!>'"),
  7. (@ENTRY,0,2,0,2,0,100,0,80,80,10000000,10000000,22,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"<Could not generate name> - Between 80-80% Health - Set Event Phase 1"),
  8. (@ENTRY,0,5,0,1,0,100,0,100,100,100,100,20,1,0,0,0,0,0,5,0,0,0,0,0,0,0,"<Could not generate name> - Out of Combat - Start Attacking"),
  9. (@ENTRY,0,6,0,0,0,100,0,100,100,100,100,20,0,0,0,0,0,0,5,0,0,0,0,0,0,0,"<Could not generate name> - In Combat - Stop Attacking"),
  10. (@ENTRY,0,7,0,2,0,100,0,80,81,1000,1000,92,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"<Could not generate name> - Between 80-81% Health - Interrupt Spell"),
  11. (@ENTRY,0,12,0,2,0,100,0,40,40,10000000,10000000,11,106523,1,0,0,0,0,1,0,0,0,0,0,0,0,"<Could not generate name> - Between 48-48% Health - Cast '<Spell not found!>'");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement