Jump to content
  • 0

i need help how to make fame for pwp kill's


Question

Posted

Hi i tried to make that for pwp/pk kill you can gain fame

in L2PcInstance.java i added

It don't work. When some1 is killed by some1 dead guy just freezes

No pk count/fame increases and no message appears

 

		// Give x y for a pK kill
    {
    	L2PcInstance _player = null;
    	_player.getClan().addReputationScore(10, true);
	sendMessage("You won Fame for a PK kill!");

 

after

		// Add karma to attacker and increase its PK counter
	setKarma(getKarma() + newKarma);
	if (target instanceof L2PcInstance
			&& AntiFeedManager.getInstance().check(this, target))
		setPkKills(getPkKills() + 1);

 

but it doesn't work

Any help?

P.s I'm a newbie on java, so please mind that :)

Already fixed that Some1 lock this theme :)

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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