Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script AutoSummon -1,{
- OnTouch:
- .@mob_id = atoi( strnpcinfo(2) );
- if ( .summon_timetick + .spawn_delay > gettimetick(2) || mobcount( "this", strnpcinfo(0)+"::Onaa" ) ) end;
- monster "this", -1,-1, "--ja--", .@mob_id,1, strnpcinfo(0)+"::Onaa";
- .summon_timetick = gettimetick(2);
- sleep 60000; // 60 seconds auto-kill this mob
- killmonster strnpcinfo(4), strnpcinfo(0) +"::Onaa";
- end;
- OnInit:
- .spawn_delay = 10;
- Onaa: // prevent server spam error
- end;
- }
- 1@cash,293,200,4 duplicate(AutoSummon) AutoSummon#1952 -1,3,3,{
- prontera,155,181,4 duplicate(AutoSummon) AutoSummon#1002 -1,3,3,{
- prontera,155,161,4 duplicate(AutoSummon) AutoSummon#1004 -1,3,3,{
Advertisement
Add Comment
Please, Sign In to add comment