Jump to content
  • 0

[Help] Echant Scrolls Problem


Question

Posted

Guys i have a little problem.I am using an l2j pack and when i enchant a weapon/armor it echant per scroll +2.The normal is +1.How i can fix it?

5 answers to this question

Recommended Posts

  • 0
Posted

Open :

\java\net\sf\l2j\gameserver\clientpackets\RequestEnchantItem.java

and find these lines :

 

            else

            {

            sm = new SystemMessage(SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED);

            sm.addNumber(item.getEnchantLevel());

            sm.addItemName(item.getItemId());

            activeChar.sendPacket(sm);

            }

            item.setEnchantLevel(item.getEnchantLevel()+1);

            item.updateDatabase();

            }

        }

 

and change this :

 

item.setEnchantLevel(item.getEnchantLevel()+1);

 

for your chose ... sample +10 - it working , save and compile and have fun !

 

and thank to Matim I had the same problem  :D

  • 0
Posted

Open :

\java\net\sf\l2j\gameserver\clientpackets\RequestEnchantItem.java

and find these lines :

 

            else

            {

            sm = new SystemMessage(SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED);

            sm.addNumber(item.getEnchantLevel());

            sm.addItemName(item.getItemId());

            activeChar.sendPacket(sm);

            }

            item.setEnchantLevel(item.getEnchantLevel()+1);

            item.updateDatabase();

            }

        }

 

and change this :

 

item.setEnchantLevel(item.getEnchantLevel()+1);

 

for your chose ... sample +10 - it working , save and compile and have fun !

 

and thank to Matim I had the same problem  :D

 

 

I don't have these folders

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