I'm trying to put this in the core but it shows me a mistake, you could find it easily but the thing is that I'm not a java knower so I need your help.
I'm sure that it's a simple syntax mistake, but as I said, I can't find it!
public void increasePvpKills()
{
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
// Increase the kill count for a special hero aura
heroConsecutiveKillCount++;
// If heroConsecutiveKillCount > 4 (5+ kills) give hero aura
if(heroConsecutiveKillCount > 29)
switch(heroConsecutiveKillCount){
case 30:
setHeroAura(true);
Announcements.getInstance().announceToAll("" + this.getName()+ " went on a Killing Spree with 30 kills in row.");
break;
case 60:
Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating with 60 kills in row, somebody kill him! ");
default:
;
}
// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
sendPacket(new UserInfo(this));
sendPacket(new ExBrExtraUserInfo(this));
}
/**
* Increase pk count, karma and send the info to the player
*
* @param targLVL : level of the killed player
* @param increasePk : true if PK counter should be increased too
*/
The red ";" it's the underlined error.
Edit: Forgot tell you that I'm using L2J Latest Revision, Gracia Final[/s]
Edit2:
I fixed it and updated it on the quote above but I still want to make it apart from the aura, hero aura to give hero skills to the player too, is that possible?
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.
Original was based off L2OFF, so how would he even be able to compete or deliver the same quality? It will be just another L2F from shein.
Whatsoever, some times you should just let the horse die.
Question
Statique
I'm trying to put this in the core but it shows me a mistake, you could find it easily but the thing is that I'm not a java knower so I need your help.
I'm sure that it's a simple syntax mistake, but as I said, I can't find it!
The red ";" it's the underlined error.
Edit: Forgot tell you that I'm using L2J Latest Revision, Gracia Final[/s]
Edit2:
I fixed it and updated it on the quote above but I still want to make it apart from the aura, hero aura to give hero skills to the player too, is that possible?
12 answers to this question
Recommended Posts
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.