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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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