Ok first of to make it clear...If you dont know what eclipse means, how to complie then leave this topic and go here...
http://l2topzone.com/forum/index.php/topic,418.0.htmlI will use L2j interlude pack for this but you can use any, of any revision with no changes...
Okay go to gameserver.model.actor.instance.L2PcInstance.java
Here comes to reward for PVP kill
Go to line 4538...You should see something like this
Code:
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
Okay now add this after it...
Code:
// Give x y for a pvp kill
addItem("Loot", x, y, this, true);
sendMessage("You won y x for a pvp kill!");
NOTE! x IS THE ITEM ID AND y IS THE AMMOUNT!
============================================================
Okay now reward for PK kill
Go to line 4605...You should see this
Code:
// Add karma to attacker and increase its PK counter
setPkKills(getPkKills() + 1);
setKarma(getKarma() + newKarma);
Add the same code as above and players are gonna get reward for PK kill!
Note! PvP kill means when a player kills a flagged player and gets a pvp point and PK kill means when a player kills a while player and gets a PK point and karma! There is a huge difference
Funny for high rate servers...
Linkback: https://l2topzone.com/forum/index.php?topic=938.0