Jump to content

Recommended Posts

Posted

(L2PcInstance.java)

private boolean _hero = false; <--find this
+   
+   /** Special EnchantChanceWeapon */
+   private int EnchantChanceWeaponConsecutiveKillCount = 0;
+   private boolean isPermaEnchantChanceWeapon = false;
+   private boolean isEnchantChanceWeapon = false; 


      _pvpKills = pvpKills; <--find this
+      
+         // Set EnchantChanceWeapon if pvp kills > 199
+	      if (pvpKills > 199)
+	      {
+		         isPermaEnchantChanceWeapon = true;
+		         setProperty("EnchantChanceWeapon", "75");
+		      }
+	}
+	private void setProperty(String string, String string2)
+	{
+		
+	}

   /**

      stopRentPet(); 
      stopWaterTask(); <--find this
+      
+      // Remove kill count for EnchantChanceWeapon if total pvp < 100
+      EnchantChanceWeaponConsecutiveKillCount = 0;
+      if (!isEnchantChanceWeapon)
+      {
+         setEnchantChanceWeapon(false);
+         sendPacket(new UserInfo(this));
+      }
      return true;
   }

    {

        setPvpKills(getPvpKills() + 1); <--find this
+        
+        // Increase the kill count for a EnchantChanceWeapon
+        EnchantChanceWeaponConsecutiveKillCount++;
+        
+        // If EnchantChanceWeaponConsecutiveKillCount > 199 (200+ kills) 
+        if(EnchantChanceWeaponConsecutiveKillCount > 199)
+           setEnchantChanceWeapon(true);


+   
+   public void reloadEnchantChanceWeapon()
+   {
+      sendPacket(new UserInfo(this));
+   }
+   
+   public void setEnchantChanceWeapon (boolean EnchantChanceWeapon)
+   {
+      isEnchantChanceWeapon = EnchantChanceWeapon;
+      return;
+   }
+   
+   public boolean getIsEnchantChanceWeapon()
+   {
+      return isEnchantChanceWeapon;
+   }

   public void setHero(boolean hero) <--find this
   {

pedes apofashsa na kanw share auto p itan gia tn server m... loipon otan kapios ftasei sta X pvp 8a exei pio polu EnchantChanceWeapon.... auto to bazete oso 8elete eseis.

credits To Me (AbSoLuTePoWeR)

 

guys dn to testara mono coded. an kapios to testarei as to pei.

Kalo share wraios . Kane kai ena config siga , an bariese pes na kanw egw ;p
Posted

wntos wraio Share! alla etc tous dineis kinitro na feedaroun pvp :S

otan pe8eneis file feugei... kai 3ana apo tin arxh... nai auto 8elw.... na kanoun pvp  :P e3alou ston server m exw anti feed. :S
Posted

otan pe8eneis file feugei... kai 3ana apo tin arxh... nai auto 8elw.... na kanoun pvp  :P e3alou ston server m exw anti feed. :S

An Einai EtC einai kalh fash! :D

  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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