Jump to content
  • 0
Sign in to follow this  
nageb

I want to fix this script

Question

2 answers to this question

Recommended Posts

  • 0
21 hours ago, nageb said:

I want to modify this text when fighting each monster the player takes the gift

Poring.txt 225 B · 1 download

prontera,0,0,0,0	monster	Poring	1002,50,0,0,"poringprize::OnMobDead"

-	script	poringprize	-1,{

OnMobDead:
	getitem 969,1;
	poring_kill = poring_kill + 1;
	if ( poring_kill == 10 ) {
		
		poring_kill = 0;
	}
	end;
}

 

Share this post


Link to post
Share on other sites
  • 0

Great, but when monsters increase more than 1000, the script does not work, is there another modification?

Just now, melv0 said:

prontera,0,0,0,0 monster Poring 1002,50,0,0,"poringprize::OnMobDead" - script poringprize -1,{ OnMobDead: getitem 969,1; poring_kill = poring_kill + 1; if ( poring_kill == 10 ) { poring_kill = 0; } end; }


prontera,0,0,0,0	monster	Poring	1002,50,0,0,"poringprize::OnMobDead"

-	script	poringprize	-1,{

OnMobDead:
	getitem 969,1;
	poring_kill = poring_kill + 1;
	if ( poring_kill == 10 ) {
		
		poring_kill = 0;
	}
	end;
}

 

Great, but when monsters increase more than 1000, the script does not work, is there another modification?

Share this post


Link to post
Share on other sites
  • 0

what your goal ?
why don't you just add the item do you want  to mob_db.conf?

 

Edited by melv0

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.