Jump to content
  • 0

Question

Posted (edited)

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 Komnis

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