Jump to content
  • 0

how to make hero weapons enchantable?


Question

Posted

how can i make hero weapons be enchanted? i mean  i have max enchant +16 andi want heros to enchant their hero weapons but when i click enchant it does not enchant it. Can anyone tell me how can i enable it? im usingl2jarchid pack interlude

Recommended Posts

  • 0
Posted

There is an option in config files that it says enchantheroweapons=false do it true!

  • 0
Posted

try this :

Index: RequestEnchantItem.java
===================================================================
--- RequestEnchantItem.java	(revision 2797)
+++ RequestEnchantItem.java	(working copy)
@@ -86,7 +86,7 @@
		}

		// can't enchant rods, hero weapons, adventurers' items,shadow and common items
-		if (item.getItem().getItemType() == L2WeaponType.ROD || item.isHeroItem() || item.getItemId() >= 7816 && item.getItemId() <= 7831 || item.isShadowItem() || item.isCommonItem())
+		if (item.getItem().getItemType() == L2WeaponType.ROD || item.getItemId() >= 7816 && item.getItemId() <= 7831 || item.isShadowItem() || item.isCommonItem())
		{
			activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
			activeChar.setActiveEnchantItem(null);

  • 0
Posted

its inside your packs core , net.sf.l2j.clientpackets.requestenchantitem.java or net.sf.l2j.network.clientpackets.requestenchantitem.java

  • 0
Posted

you need packs source code , if u dont have it then you cant apply the patch

  • 0
Posted

no i dont have it. is there any other way to do that? i mean in my configs there is nothing to make true for enchantheroweapons is there other way?

  • 0
Posted

is there any other way to do this???i mean if i add them with a new sql in the db and add new weapon id's in the system but these new weapons wll have the texture of the hero???please if anyone can help me do the heros enchantable i will apriciate it!!!add me on msn if u know how ...tnx

spokerakos@hotmail.com

  • 0
Posted

so i change this one with yours right??

 / 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;

  • 0
Posted

See in your config folder a file  named : enchant.properties.    Then find that line :     

# Enchant hero weapons? (default: Fals)

EnchantHeroWeapons = True

 

 

I hope i help you a litle.

 

Sorry for my bad english.

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