Jump to content

[Share]IL Killing Spree Code


Recommended Posts

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())
{

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Welcome to my store :https://ultrasstore11.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord :@ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119
    • Trying to add a Heal Over Time to flame and frost armor skills since Archmage & Spellslinger dont get a leech skill. I figured I would try to just add params in the skill xmls but the server dont like that at ALL the way I tried it. Anyone know if this is even possible?
    • Hi), we are searching dev for IL buff shop code. 
    • Im sorry you paid for something that is in a config file....   # --------------------------------------------------------------------------- # Premium Drop Configuration # These rates will be applied to premium char if AutoLoot in Drops.ini is TRUE # otherwise might create some exploits with pickup action # --------------------------------------------------------------------------- # General drop multiplier if item id is NOT in PrRateDropItemsById list PremiumRateDropItems = 2 # Specific multipliers for items, if you add one items in this list will # bypass PremiumRateDropItems # TIP: if you have one item id in Rates.ini for example 57,20 # This rate will multiply 20 * your number here so be carefull PrRateDropItemsById = 57,2;40002,2     This is inside PremiumService.ini, the yellow text above are the (itemID,DropMultiplier) you can separate items with semicolon. like in most of the .ini files. I should add that the above .ini file is in a hi5 pack so for aCis and other revisions Im not sure if its the same.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock