Jump to content
  • 0

pws kanw enchant ta infinity weapon?


Question

11 answers to this question

Recommended Posts

  • 0
Posted

piga alla dn exei enchant.prop...epsa3a kai se ola ta egrafa p exei sto gameserver->config kai dn exei pou8ena to

# Enchant hero weapons? (default: False)

EnchantHeroWeapons = False

  • 0
Posted
# Configuration file for enchant settings

 

# % Chance of succeding to enchant an item when it has a chance of breaking(destory item)/resetting(set enchant back to 0)

# Standard Enchant Scroll

EnchantChanceWeapon = 75

EnchantChanceArmor = 75

EnchantChanceJewelry = 75

EnchantBreakWeapon = True

EnchantBreakArmor = True

EnchantBreakJewelry = True

# Crystal Enchant Scroll

EnchantChanceWeaponCrystal = 0

EnchantChanceArmorCrystal = 0

EnchantChanceJewelryCrystal = 0

EnchantBreakWeaponCrystal = True

EnchantBreakArmorCrystal = True

EnchantBreakJewelryCrystal = True

# Blessed Enchant Scroll

EnchantChanceWeaponBlessed = 95

EnchantChanceArmorBlessed = 95

EnchantChanceJewelryBlessed = 95

EnchantBreakWeaponBlessed = False

EnchantBreakArmorBlessed = False

EnchantBreakJewelryBlessed = False

 

# Enchant limit (unlimited on default)

EnchantMaxWeapon = 25

EnchantMaxArmor = 25

EnchantMaxJewelry = 25

 

# Safe till

EnchantSafeMax = 7

EnchantSafeMaxFull = 7

# Enchant hero weapons? (default: Fals)

EnchantHeroWeapons = False

# Alternate Dwarf enchant system (default: False)

# Dwarf from lvl 20 can enchant up to EnchantDwarf1Enchantlevel with a chance bouns from + EnchantDwarf1Chance

# Dwarf from lvl 40 can enchant up to EnchantDwarf2Enchantlevel with a chance bouns from + EnchantDwarf2Chance

# Dwarf from lvl 76 can enchant up to EnchantDwarf3Enchantlevel with a chance bouns from + EnchantDwarf3Chance

EnchantDwarfSystem = False

EnchantDwarf1Enchantlevel = 8

EnchantDwarf2Enchantlevel = 10

EnchantDwarf3Enchantlevel = 12

EnchantDwarf1Chance = 15

EnchantDwarf2Chance = 15

EnchantDwarf3Chance = 15

etsi prepi na einai...

  • 0
Posted

file i l2dot exei  to exei ayto to config na kaneis enchant infinity ama 8eleis to java na to peraseis kai na kaneis compile file mou oriste

 

Index: /trunk/L2J-Archid-Game/java/com/l2jarchid/Config.java
===================================================================
--- /trunk/L2J-Archid-Game/java/com/l2jarchid/Config.java (revision 524)
+++ /trunk/L2J-Archid-Game/java/com/l2jarchid/Config.java (revision 525)
@@ -1388,5 +1388,6 @@
     public static float ALT_DAGGER_DMG_VS_HEAVY;
     public static float ALT_DAGGER_DMG_VS_ROBE;
-
+    public static boolean ENCHANT_HERO_WEAPONS;
+    
	//************************************************************************************************************************
	public static void loadCustomsConfig()
@@ -1517,5 +1518,5 @@
	     	ALT_DAGGER_DMG_VS_ROBE = Float.parseFloat(CustomMod.getProperty("DaggerVSRobe", "2.00")); 
	     	ALT_DAGGER_DMG_VS_LIGHT = Float.parseFloat(CustomMod.getProperty("DaggerVSLight", "2.20"));
-
+	     	ENCHANT_HERO_WEAPONS	= Boolean.parseBoolean(CustomMod.getProperty("EnchantHeroWeapons","false"));
			// Create Map only if enabled
			if (ENABLE_MODIFY_SKILL_DURATION)
Index: /trunk/L2J-Archid-Game/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java
===================================================================
--- /trunk/L2J-Archid-Game/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java (revision 500)
+++ /trunk/L2J-Archid-Game/java/com/l2jarchid/gameserver/network/clientpackets/RequestEnchantItem.java (revision 525)
@@ -68,13 +68,12 @@
         activeChar.setActiveEnchantItem(null);
         if (item == null || scroll == null) return;
-
-         // can't enchant rods, hero weapons and shadow items
-        if(item.getItem().getItemType() == L2WeaponType.ROD
-        		|| item.getItemId() >= 6611 && item.getItemId() <= 6621
-        		|| item.isShadowItem())
-        {
-        	activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
-            return;
-        }
+    	
+        
+    	if ((item.getItem().getItemType() == L2WeaponType.ROD) || (!Config.ENCHANT_HERO_WEAPONS && (item.getItemId() >= 6611) && (item.getItemId() <= 6621)) || ((item.getItemId() >= 7816) && (item.getItemId() <= 7831)) || item.isShadowItem())
+    	{
+    	    activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
+    	    return;
+    	}
+    	
         if(item.isWear())
         {
@@ -82,4 +81,5 @@
             return;
         }
+        
         int itemType2 = item.getItem().getType2();
         boolean enchantItem = false;
Index: /trunk/L2J-Archid-Game/config/mods/customs.properties
===================================================================
--- /trunk/L2J-Archid-Game/config/mods/customs.properties (revision 524)
+++ /trunk/L2J-Archid-Game/config/mods/customs.properties (revision 525)
@@ -275,4 +275,8 @@
DaggerVSRobe = 2.00
DaggerVSLight = 2.20
+
+# Enchant Hero Weapons?
+# Default : False
+EnchantHeroWeapons = False

#===============================================================


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
Answer this question...

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



  • Posts

    • it is very sad to see how 4 people destroyed the l2off section.... We should create another place where administrators and moderators are not criminals or scammers. You can see what happens in my case when I share free files, you can see all the negative messages and downvotes for example, that proves it all. We would have to leave these 4 people here to continue scamming people, something about the l2off platform, that creates a forum or inente a healthier place than this .... Greetings.   -------------------------------------------------------------------   have a proposal to solve the problem. why don't all those who bought an extension from L2Devs, compare what they bought, with what I published and verify who is the scammer? then they compare the files they bought with my SVN.  Those who bought from L2Devs @UnknownSoldier Mariano Canteros (Argentina) come on, do the comparison and verify who is the scammer   
    • 1. not gonna read all that 2. you most definitely did NOT write any of that (since, as shown here, you have poor grammar and punctuation). I'm not trying to offend you in any way, rather, encouraging you to think for yourself instead of being an NPC, cheers.  
    • Ah, ah, ah " θεέ μου βοήθησε με " yet another person who seems obsessed with this. When some people read a post that actually has a beginning, a middle, and an end, it's like a shock to them. "How can this person write so well? He must be using AI." Seems like a lot of you out there think the same way. As for what you said, I honestly didn’t understand how any of it relates to the post. I didn’t take anyone’s side, nor did I say who’s right or wrong. I don’t want to get into that whole mindset of dividing people into sides. Your side is pretty clear though. You seem coordinated and consistent. The other side hasn’t really shown up yet, maybe because it’s just one lone wolf. But that doesn’t mean he’s wrong. Anyway, I figured I’d write something to maybe shake things up a bit, but it looks like concrete doesn’t move easily. Maybe it takes a real earthquake. That’s all from me on this topic. Take care and good luck with whatever you're doing. No matter what you write, I won’t be replying to you or your little crew. 😉
    • @Tinker123aa we own your ass now biatch , woof woof🐕‍🦺
  • 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