k0s02

Untitled

Jun 9th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. -- SAI
  2. SET @ENTRY := 999357;
  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,4,0,100,0,0,0,0,0,22,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"On Aggro - Set Event Phase 1"),
  7. (@ENTRY,0,1,0,0,1,100,0,2000,2000,1000000,1000000,11,98443,0,0,0,0,0,2,0,0,0,0,0,0,0,"stun"),
  8. (@ENTRY,0,2,0,0,1,100,0,15000,15000,1000000,1000000,11,101248,0,0,0,0,0,24,0,0,0,0,0,0,0,"In Combat - Cast '<magma blast>' (Phase 1)"),
  9. (@ENTRY,0,3,0,0,1,100,0,25000,25000,1000000,1000000,28,99048,0,0,0,0,0,1,0,0,0,0,0,0,0,"remove aura smoldering"),
  10. (@ENTRY,0,4,0,0,1,100,0,10000,10000,1000000,1000000,12,999359,6,1000,0,0,0,8,0,0,0,100.463,-403.697,456.155,4.78,"Summon npc scut"),
  11. (@ENTRY,0,5,0,0,1,100,0,14500,14500,1000000,1000000,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"set root 1"),
  12. (@ENTRY,0,6,0,0,1,100,0,17000,17000,1000000,1000000,11,101248,0,0,0,0,0,24,0,0,0,0,0,0,0,"In Combat - Cast '<magma blast>' (Phase 1)"),
  13. (@ENTRY,0,7,0,0,1,100,0,19000,19000,1000000,1000000,11,101248,0,0,0,0,0,24,0,0,0,0,0,0,0,"In Combat - Cast '<magma blast>' (Phase 1)"),
  14. (@ENTRY,0,8,0,0,1,100,0,24000,24000,1000000,1000000,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"set root 1"),
  15. (@ENTRY,0,9,0,0,1,100,0,21000,21000,1000000,1000000,11,101248,0,0,0,0,0,24,0,0,0,0,0,0,0,"In Combat - Cast '<magma blast>' (Phase 1)"),
  16. (@ENTRY,0,10,0,2,0,100,0,79,80,10000000,10000000,12,999361,6,180000,0,0,0,8,0,0,0,83.737,-404.429,456.154,5.67,"<Could not generate name> - Between 79-80% Health - Summon Creature 1''"),
  17. (@ENTRY,0,11,0,2,0,100,0,79,80,10000000,10000000,12,999362,6,180000,0,0,0,8,0,0,0,98.172,-395.291,456.154,4.87,"<Could not generate name> - Between 79-80% Health - Summon Creature 2 ''"),
  18. (@ENTRY,0,12,0,2,0,100,0,79,80,10000000,10000000,12,999363,6,180000,0,0,0,8,0,0,0,105.408,-438.693,456.154,1.74,"<Could not generate name> - Between 79-80% Health - Summon Creature 3 ''"),
  19. (@ENTRY,0,13,0,2,0,100,0,79,80,10000000,10000000,12,999364,6,180000,0,0,0,8,0,0,0,119.707,-429.582,456.154,2.54,"<Could not generate name> - Between 79-80% Health - Summon Creature 4 ''");
Advertisement
Add Comment
Please, Sign In to add comment