This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Komnis
Exw to parakatw kodika omos den m emfanizei swsta ta announcements. diladi den mou dixnei akrivos posa kills exei o player otan pe8enei. sxedon panta m emfanizei oti exei 1 i 2 i 3 kills. pws mporw na to ftiaksw? (den kserw ean exw antigrapsei swsta to kodika, prwti fora kanw auto to pragma. :P )
@@ -5410, 25 +5424,22 @@ if (!(isInsideZone(ZONE_PVP) && !isInSiege()) || pk == null) onDieUpdateKarma(); // Update karma if delevel is not allowed if (pvpspree >= 35) { if (this.killcount >= 35) Announcements.getInstance().announceToAll(killer.getName() + " has gave an end to " + getName() + "'s spree of " + pvpsree + " straight kills!" ); if(pvpspree >= 40) { setHero(false); } } pvpspree = 0; } @@ -5626 ,13 +5640, 10 @@ if (target instanceof L2PcInstance) increasePvpKills(); if (targetPlayer.pvpspree >= 35) { if (targetPlayer.killcount >= 35) Announcements.getInstance().announceToAll(getName() + " has gave an end to " + targetPlayer.getName() + "'s spree of " + pvpspree + " straight kills!" ); if(targetPlayer.pvpspree >= 40) { targetPlayer.setHero(false); } } targetPlayer.pvpspree = 0; } @@ -5560, 13 +5673, 43 @@ if (targetPlayer.getKarma() > 0) // Target player has karma { if (targetPlayer.pvpspree >= 35) { if (targetPlayer.killcount >= 35) Announcements.getInstance().announceToAll(targetPlayer.getName() + " has gave an end to " + getName() + "'s spree of " + pvpspree + " straight kills!" ); if(targetPlayer.pvpspree >= 40) { targetPlayer.setHero(false); } } targetPlayer.pvpspree = 0; @@ -5710,1 +5732, 10 @@ // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); pvpspree++; switch (pvpspree) { case 35 : sendMessage("You are almost on a killing spree"); break; case 40 : Announcements.getInstance().announceToAll(getName()+" is on a killing spree!"); this.setHero(true); broadcastUserInfo(); sendMessage("You have granted with hero status until restart"); break; case 80 : Announcements.getInstance().announceToAll(getName()+" is Unstoppable!"); break; case 120 : Announcements.getInstance().announceToAll(getName()+" is Godlike!"); break; }L2j server.
Edited by Komnis0 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now