Jump to content
  • 0

Requesting for certain monster drop items in specific map


Question

Posted

Example at prontera. If you kill a poring in prontera. The poring will drop additional proof of donation. I mean the poring drops will be the same but if its killed in prontera it will additionaly drop proof of donation.

7 answers to this question

Recommended Posts

Posted


- script sdfhrae -1,{

OnNpcKillEvent:

if ((strcharinfo(3) == "prontera") && (killedrid == 1002)) { //sbd. in prontera, killed poring

getitem 607,1;

end;

}

end;

}

  • Upvote 1
Posted
-	script	sdfhrae	-1,{
OnNpcKillEvent:
	if ((strcharinfo(3) == "prontera") && (killedrid == 1002)) { //sbd. in prontera, killed poring
		getitem 607,1;
	end;
	}
end;
}

 

Ermmm... This script look like can be usefull for bossnia script...

Mark with specific map name and mob name with chance drop of something...

Can it be done??..??

Posted

 

-	script	sdfhrae	-1,{
OnNpcKillEvent:
	if ((strcharinfo(3) == "prontera") && (killedrid == 1002)) { //sbd. in prontera, killed poring
		getitem 607,1;
	end;
	}
end;
}

 

Ermmm... This script look like can be usefull for bossnia script...

Mark with specific map name and mob name with chance drop of something...

Can it be done??..??

 

I think add random script 

 

THANK YOU VERY MUCH @WINZ

Posted

 

-	script	sdfhrae	-1,{
OnNpcKillEvent:
	if ((strcharinfo(3) == "prontera") && (killedrid == 1002)) { //sbd. in prontera, killed poring
		getitem 607,1;
	end;
	}
end;
}

 

Ermmm... This script look like can be usefull for bossnia script...

Mark with specific map name and mob name with chance drop of something...

Can it be done??..??

 

 

oh yeah! why don't I think about it?

you can merge it with sth. like this:

if (((strcharinfo(3) == "bossnia1" ) || (strcharinfo(3) == "bossnia2" ) ) && ((killedrid == 1002) || (killedrid == 1003)) {

like.. you add and modify logically the IF statement. you can use it.

 

 

-	script	sdfhrae	-1,{
OnNpcKillEvent:
	if ((strcharinfo(3) == "prontera") && (killedrid == 1002)) { //sbd. in prontera, killed poring
		getitem 607,1;
	end;
	}
end;
}

 

Ermmm... This script look like can be usefull for bossnia script...

Mark with specific map name and mob name with chance drop of something...

Can it be done??..??

 

I think add random script 

 

THANK YOU VERY MUCH @WINZ

 

Sure, no probs!

Posted (edited)

 

oh yeah! why don't I think about it?

you can merge it with sth. like this:

  1. if (((strcharinfo(3) == "bossnia1" ) || (strcharinfo(3) == "bossnia2" ) ) && ((killedrid == 1002) || (killedrid == 1003)) {

like.. you add and modify logically the IF statement. you can use it.

This was look so ermm,... professional... maybe i only can do the old way... Sry i was kind a noob too..  ^ ^

Wait... It was like this...??..??

 

 

 

  1. - script sdfhrae -1,{
  2. OnNpcKillEvent:
  3. if (((strcharinfo(3) == "bossnia1" ) || (strcharinfo(3) == "bossnia2" ) ) && ((killedrid == 1002) || (killedrid == 1003)) {
  4. //sbd. in prontera, killed poring
  5. getitem 607,1;
  6. end;
  7. }
  8. end;
  9. }

 

Btw how to put it a 10% in it...???

Edited by CheckMate

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...