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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..