mrlongshen Posted December 16, 2012 Posted December 16, 2012 (edited) hi all. i want to request a leveling room. this leveling is summoning 5 monster only, after the 5 monster have been killed, then the monster will auto alive again. thx you guys. bump post Edited December 21, 2012 by mrlongshen Quote
Brian Posted December 17, 2012 Posted December 17, 2012 As 1 monster is killed, 1 monster is spawned? poring_w01,0,0,0 script unlimited_deadbranch -1,{ end; OnInit: monster strnpcinfo(4),0,0, "--ja--",-1, 5, strnpcinfo(3)+"::OnMyMobDead"; end; OnMyMobDead: monster strnpcinfo(4),0,0, "--ja--",-1, 1, strnpcinfo(3)+"::OnMyMobDead"; end; } Or they kill all 5 monsters, then 5 spawn all at once? poring_w01,0,0,0 script unlimited_deadbranch -1,{ end; OnInit: OnMyMobDead: if (mobcount(strnpcinfo(4), strnpcinfo(3)+"::OnMyMobDead") == 0) monster strnpcinfo(4),0,0, "--ja--",-1, 5, strnpcinfo(3)+"::OnMyMobDead"; end; } Quote
mrlongshen Posted December 20, 2012 Author Posted December 20, 2012 (edited) sir, how would do i change my monster ? i dont want random monster. how do i change the monster will spawn just only in specific coordinate ? i try to change but cannot poring_w01,0,0,0 script unlimited_deadbranch -1,{ end; OnInit: monster strnpcinfo(4),0,0, "--ja--",-1, 5, strnpcinfo(3)+"::OnMyMobDead"; end; OnMyMobDead: monster strnpcinfo(4),0,0, "--ja--",-1, 1, strnpcinfo(3)+"::OnMyMobDead"; end; } Edited December 20, 2012 by mrlongshen Quote
Mootie Posted December 20, 2012 Posted December 20, 2012 (edited) you can use this 1@pump,77,93,4 script Novice Zone Exit 837,{ mes "Are you done?"; if(select("Yes:No") == 1){close2; atcommand "@go 0"; end;} else { close; } OnInit: delwaitingroom; waitingroom "Exit Here",0; end; } - script novice_zone -1,{ OnPCLoadMapEvent: sleep2 1000; while( strcharinfo(3) == "new_1-1" && BaseJob == 0 && JobLevel < 10) {sleep2 1; if( Hp < MaxHp || readparam(Sp) < readparam(MaxSp) ) {percentheal 100,100; specialeffect2 312;} } end; } 1@pump,0,0,0,0 monster Poring 1002,50,5000,5000; 1@pump,0,0,0,0 monster Drops 1113,50,5000,5000; 1@pump,0,0,0,0 monster Poporing 1031,50,5000,5000; 1@pump mapflag loadevent 1@pump mapflag noteleport 1@pump mapflag monster_noteleport 1@pump mapflag nosave 1@pump mapflag nomemo zhakastia,86,68,5 script Novice Zone 729,{ warp "1@pump",64,92; end; OnInit: delwaitingroom; waitingroom "Beginner Zone",0; end; } edit it to your needs sir, how would do i change my monster ? i dont want random monster. how do i change the monster will spawn just only in specific coordinate ? i try to change but cannot poring_w01,0,0,0 script unlimited_deadbranch -1,{ end; OnInit: monster strnpcinfo(4),0,0, "--ja--",-1, 5, strnpcinfo(3)+"::OnMyMobDead"; end; OnMyMobDead: monster strnpcinfo(4),0,0, "--ja--",-1, 1, strnpcinfo(3)+"::OnMyMobDead"; end; } Edited December 20, 2012 by Mootie Quote
mrlongshen Posted December 20, 2012 Author Posted December 20, 2012 mr mootie. the script u give to me, is that when we kill it will auto respawn the mobs again after kill? ok done. tq to mr mootie for the script its really works Quote
Question
mrlongshen
hi all. i want to request a leveling room.
this leveling is summoning 5 monster only, after the 5 monster have been killed, then the monster will auto alive again.
thx you guys.
bump post
Edited by mrlongshen5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.