Jump to content
  • 0
Sign in to follow this  
mrlongshen

Mob not auto respawn

Question

prontera,164,171,4	script	Gold Room	10005,{	mes "Do you want to enter Gold Room ?";	mes "This gold room is sponsor by Maybank2u";	menu "Ok",-,"No thanks.",L_No;	warp "sakura.gat",0,0;	close;OnInit:	waitingroom "[ Gold Room ]",0;end;L_No:close;}-	script	GoldRoom	-1,{OnInit:	monster "sakura",0,0,"Gold Resident 1",3113,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 2",3142,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 3",3119,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 4",3133,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 5",3122,30,"GoldRoom::OnMobKilled";	end;OnMobKilled:	set $@ran, rand(1,3);	if ($@ran == 1) getitem 969,1;	if ($@ran == 2) getitem 969,2;	if ($@ran == 3) getitem 969,5;	}

can someone take look on this script, why its not automatic respawn the mobs after kill the mobs ?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
prontera,164,171,4	script	Gold Room	10005,{	mes "Do you want to enter Gold Room ?";	mes "This gold room is sponsor by Maybank2u";	menu "Ok",-,"No thanks.",L_No;	close2;	warp "sakura.gat",0,0;	end;OnInit:	waitingroom "[ Gold Room ]",0;	end;	L_No:	close;	OnMobKilled:	set @ran, rand(1,3);	if (@ran == 1) getitem 969,1;	else if (@ran == 2) getitem 969,2;	else getitem 969,5;	end;}sakura,0,0,0,0	monster	Gold Resident 1	3113,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0	monster	Gold Resident 2	3142,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0	monster	Gold Resident 3	3119,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0	monster	Gold Resident 4	3133,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0	monster	Gold Resident 5	3122,30,0,0,"Gold Room::OnMobKilled"

Here you go.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.