k0s02

Untitled

Jun 4th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 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,5000,5000,10000000,10000000,11,105490,0,0,0,0,0,21,50,0,0,0,0,0,0,"<Could not generate name> - In Combat - Cast '<Spell not found!>'"),
  7. (@ENTRY,0,1,0,0,1,100,0,15000,15000,10000000,10000000,11,105490,1,0,0,0,0,5,0,0,0,0,0,0,0,"<Could not generate name> - In Combat - Cast '<Spell not found!>' (Phase 1)"),
  8. (@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"),
  9. (@ENTRY,0,3,0,2,0,100,0,60,60,10000000,10000000,22,2,0,0,0,0,0,0,0,0,0,0,0,0,0,"<Could not generate name> - Between 60-60% Health - Set Event Phase 2"),
  10. (@ENTRY,0,4,0,0,2,100,0,20000,20000,10000000,10000000,11,105490,1,0,0,0,0,5,0,0,0,0,0,0,0,"<Could not generate name> - In Combat - Cast '<Spell not found!>' (Phase 2)"),
  11. (@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"),
  12. (@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"),
  13. (@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"),
  14. (@ENTRY,0,8,0,2,0,100,0,60,61,1000,1000,92,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"<Could not generate name> - Between 60-61% Health - Interrupt Spell"),
  15. (@ENTRY,0,9,0,2,0,100,0,59,59,10000000,10000000,22,4,0,0,0,0,0,0,0,0,0,0,0,0,0,"<Could not generate name> - Between 59-59% Health - Set Event Phase 4"),
  16. (@ENTRY,0,10,0,0,4,100,0,15000,15000,10000000,10000000,11,105490,1,0,0,0,0,5,0,0,0,0,0,0,0,"<Could not generate name> - In Combat - Cast '<Spell not found!>' (Phase 4)"),
  17. (@ENTRY,0,11,0,2,0,100,0,50,51,1000,1000,92,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"<Could not generate name> - Between 50-51% Health - Interrupt Spell"),
  18. (@ENTRY,0,12,0,2,0,100,0,48,48,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