Jump to content
  • 0

[Help] Add Skill with a number pvp


Question

Posted

Hi all i want know the code for L2J SERVER

 

How add skill with a number pvp?????

 

For exemple: 1000 pvp = 1 skilll

 

Plz

 

If the post exist plz post the link.

 

Thanks you Have fun

4 answers to this question

Recommended Posts

  • 0
Posted

How add skill with a number pvp?????

For exemple: 1000 pvp = 1 skilll

off topic:ahmmm i didnt understand what you wanna say can you edit your topic and explain better what you wanna to do to give you a hand of help

  • 0
Posted

Carefully because cheat pvp on your server.

If you use this, set time between 1st pvp and 2nd ..... are 5 minute or more to anti cheat and same IP cant pvp.

 

 

  • 0
Posted

Find increasePvPKills() on L2PcInstance and add something like:

if(this.getPvpKills() == 1000 && !this.getSkills.contains(yourskillid))
  this.addSkill(skillid, skilllevel, processname 0);

I don't have eclipse here so it might be wrong,but you get the picture.

Note: There will be two increasePvpKills() method calls, since one is referring to non-clan war kills and the other one to clan war kills.

 

PS- hoangnhan You're signature is funny.

Guest
This topic is now closed to further replies.


×
×
  • Create New...