Jump to content
  • 0

Crystall scrolls [l2jarchid]


Question

11 answers to this question

Recommended Posts

  • 0
Posted

1on eise se lathos section

2on psakse mesa sto fakelo tou gameserver sta settings prepei na exei ena enchant arxeio an thimame kala ...nomizw etsi einai sto archid pack

  • 0
Posted

1on eise se lathos section

2on psakse mesa sto fakelo tou gameserver sta settings prepei na exei ena enchant arxeio an thimame kala ...nomizw etsi einai sto archid pack

dekto

  • 0
Posted

Loipon Ston fakelo configs sto L2JArchid exei ena arxeio rates.properties

 

Allazeis aftin edw tin grammi:

EnchantChanceCrystal = 75

 

Se auth:

EnchantChanceCrystal = 100

  • 0
Posted

Loipon Ston fakelo configs sto L2JArchid exei ena arxeio rates.properties

 

Allazeis aftin edw tin grammi:

EnchantChanceCrystal = 75

 

Se auth:

EnchantChanceCrystal = 100

ama to kanw ayto eine gia chance den tha spaei to weapon teleios enoousa n pigenei +0 ;)

  • 0
Posted

oh , now i saw it(u had it in your tittle).. ok i will check it and ill tell you

  • 0
Posted

testare auton ton kodika ...

 

Config.java - Diff Patch

Index: Config.java
===================================================================
--- Config.java	(revision 396)
+++ Config.java	(working copy)
@@ -755,7 +755,10 @@
     public static int ENCHANT_MAX_ARMOR;
     public static int ENCHANT_MAX_JEWELRY;
     public static int ENCHANT_SAFE_MAX;
-    public static int ENCHANT_SAFE_MAX_FULL;
+    public static int ENCHANT_SAFE_MAX_FULL;
+	public static boolean		ENCHANT_BREAK_WEAPON_CRYSTAL;
+	public static boolean		ENCHANT_BREAK_ARMOR_CRYSTAL;
+	public static boolean		ENCHANT_BREAK_JEWELRY_CRYSTAL;
     
	// *******************************************************************************************
	public static void loadRatesConfig()
@@ -801,7 +804,11 @@
             /*limit of safe enchant normal */
             ENCHANT_SAFE_MAX = Integer.parseInt(ratesSettings.getProperty("EnchantSafeMax", "3"));
             /*limit of safe enchant full */
-            ENCHANT_SAFE_MAX_FULL = Integer.parseInt(ratesSettings.getProperty("EnchantSafeMaxFull", "4"));
+            ENCHANT_SAFE_MAX_FULL = Integer.parseInt(ratesSettings.getProperty("EnchantSafeMaxFull", "4"));
+			
+			ENCHANT_BREAK_WEAPON_CRYSTAL = Boolean.parseBoolean(ratesSettings.getProperty("EnchantBreakWeaponCrystal", "True"));
+			ENCHANT_BREAK_ARMOR_CRYSTAL = Boolean.parseBoolean(ratesSettings.getProperty("EnchantBreakArmorCrystal", "True"));
+			ENCHANT_BREAK_JEWELRY_CRYSTAL = Boolean.parseBoolean(ratesSettings.getProperty("EnchantBreakJewelryCrystal", "True"));

             
             PLAYER_DROP_LIMIT               = Integer.parseInt(ratesSettings.getProperty("PlayerDropLimit", "3"));

 

RequestEnchantItem - Diff Patch

Index: RequestEnchantItem.java
===================================================================
--- RequestEnchantItem.java	(revision 396)
+++ RequestEnchantItem.java	(working copy)
@@ -83,6 +83,7 @@
         }
         int itemType2 = item.getItem().getType2();
         boolean enchantItem = false;
+		boolean enchantBreak = false;
         boolean blessedScroll = false;
         int crystalId = 0;

@@ -174,7 +175,7 @@
             for (int crystalscroll : CRYSTAL_SCROLLS)
                 if(scroll.getItemId() == crystalscroll)
                 {
-                    blessedScroll = true; break;
+                    blessedScroll = true;break;
                 }

         scroll = activeChar.getInventory().destroyItem("Enchant", scroll, activeChar, item);
@@ -211,6 +212,7 @@
         		{
         			chance = Config.ENCHANT_CHANCE_CRYSTAL;
         			maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
+					enchantBreak = Config.ENCHANT_BREAK_WEAPON_CRYSTAL;
         		}	
         else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)	
         	for (int normalarmorscroll : NORMAL_ARMOR_SCROLLS)
@@ -230,6 +232,7 @@
         		{
         			chance = Config.ENCHANT_CHANCE_CRYSTAL;
         			maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
+					enchantBreak = Config.ENCHANT_BREAK_ARMOR_CRYSTAL;
         		}	
         else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)	
         	for (int normaljewelscroll : NORMAL_ARMOR_SCROLLS)
@@ -249,6 +252,7 @@
         		{
         			chance = Config.ENCHANT_CHANCE_CRYSTAL;
         			maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
+					enchantBreak = Config.ENCHANT_BREAK_JEWELRY_CRYSTAL;
         		}

         if (item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX

 

rate.prop

EnchantBreakWeaponCrystal = True
EnchantBreakArmorCrystal = True
EnchantBreakJewelryCrystal = True

 

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