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

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.