Jump to content

Recommended Posts

Posted
Index: java/com/l2jhotel/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jhotel/gameserver/model/actor/instance/L2PcInstance.java	(revision 5826)
+++java/com/l2jhotel/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -207,6 +207,7 @@
import com.l2jhotel.gameserver.network.serverpackets.TradeStart;
import com.l2jhotel.gameserver.network.serverpackets.UserInfo;
import com.l2jhotel.gameserver.network.serverpackets.ValidateLocation;
+import com.l2jhotel.gameserver.network.serverpackets.ExShowScreenMessage;
import com.l2jhotel.gameserver.skills.Formulas;
import com.l2jhotel.gameserver.skills.Stats;
import com.l2jhotel.gameserver.skills.effects.EffectForce;

@@ -5271,14 +5296,62 @@
	 * Increase the pvp kills count and send announce
	 *
	 */
+	private int impro = 0;
	public void increasePvpKills()
	{
+		impro++;
+		        
+		       switch(impro){
+		       
+		                case 3:
+   				ExShowScreenMessage case5 = new ExShowScreenMessage("You reached 3 killing spree!", 10000);
+   				activeChar.sendPacket(case5);
+				Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 3 without die!");
+   				break;
+   				
+				case 5:
+   				ExShowScreenMessage case10 = new ExShowScreenMessage("You reached 5 killing spree!", 10000);
+   				activeChar.sendPacket(case10);
+				Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 5 kill without die");
+   				break;
+   				
+				case 10:
+   				ExShowScreenMessage case15 = new ExShowScreenMessage("You reached 10 killing spree!", 10000);
+   				activeChar.sendPacket(case15);
+   				Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 10 kill without die");
+   				break;
+   				
+				case 15:
+   				ExShowScreenMessage case20 = new ExShowScreenMessage("You reached 15 killing spree!", 10000);
+   				activeChar.sendPacket(case20);
+   				Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 15 kill without die");
+   				break;
+   				
+				case 20:
+   				ExShowScreenMessage case25 = new ExShowScreenMessage("You reached 20 killing spree!", 10000);
+   				activeChar.sendPacket(case25);
+   				Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 20 kill without die");
+   				break;
+   				
+				case 25:
+   				ExShowScreenMessage case30 = new ExShowScreenMessage("You reached 25 killing spree!", 10000);
+   				activeChar.sendPacket(case30);
+   				Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 25 kill without die");
+   				break;
+		          default:
+		           ;
+		        }
+	
+		 
		if ((TvT._started && _inEventTvT) || (DM._started && _inEventDM) || (VIP._started && _inEventVIP) || (CTF._started && _inEventCTF))
			return;

@@ -10379,6 +10573,8 @@
		// temp fix here
		if (isMounted())
			dismount();
+		
+		impro = 0;

		if (isTransformed() && !isCursedWeaponEquipped())
{

Posted

Are y'all for real?

 

"reached 25 kill without die"

 

its the worse announce that i can read, if would join on a server and see such an announce i would exit.

 

thats true! l2mafia have the same announce :D

its not so hard to change 2 lines..

anyway i will change it

Guest
This topic is now closed to further replies.


×
×
  • Create New...