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
  • 2 months later...

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
Reply to this topic...

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