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.

  • 0
Posted

Eh, still can't understand.

 

But opened after 5 min.. but what should happen first.

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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock