Jump to content
  • 0

Kill PVP + Item


Question

Posted

Hi all athletes ... I need advice or tell you how to do that when players go against each other and that one species to kill him to get some kind of item.

Please help me I'll be grateful.

15 answers to this question

Recommended Posts

  • 0
Posted

Uf, next time just use search, it was already shared as far as I remeber.

 

Anyway its really simple.

 

Open L2PcInstance.java

 

Find this line:

 

setPvpKills(getPvpKills() + 1);

 

and add this under previous from quote:

 

addItem("Reward", 57, 1000, this, true);

 

Result? After each pvp kill, player will receive 1000 adena

 

(57 is item id, adne in this case, 1000 is ammount of adena)

  • 0
Posted

thanks I got it thank you ... now that the regime opened the door for 5 minutes so if you would not consult anybody please?

 

I can't understand what do you mean.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



×
×
  • Create New...