yuhsing

Untitled

Dec 14th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1.  
  2. - script AutoSummon -1,{
  3. OnTouch:
  4. .@mob_id = atoi( strnpcinfo(2) );
  5. if ( .summon_timetick + .spawn_delay > gettimetick(2) || mobcount( "this", strnpcinfo(0)+"::Onaa" ) ) end;
  6. monster "this", -1,-1, "--ja--", .@mob_id,1, strnpcinfo(0)+"::Onaa";
  7. .summon_timetick = gettimetick(2);
  8. sleep 60000; // 60 seconds auto-kill this mob
  9. killmonster strnpcinfo(4), strnpcinfo(0) +"::Onaa";
  10. end;
  11. OnInit:
  12. .spawn_delay = 10;
  13. Onaa: // prevent server spam error
  14. end;
  15. }
  16.  
  17.  
  18. 1@cash,293,200,4 duplicate(AutoSummon) AutoSummon#1952 -1,3,3,{
  19. prontera,155,181,4 duplicate(AutoSummon) AutoSummon#1002 -1,3,3,{
  20. prontera,155,161,4 duplicate(AutoSummon) AutoSummon#1004 -1,3,3,{
Advertisement
Add Comment
Please, Sign In to add comment