Jump to content

Recommended Posts

Posted

=So Today i will share with y a simple Code... Blessed scroll when fails dont go to 0 but it goes -1 +

 

Example we got +6 Weapon we go for 7 and fails... so it will go +5

 

 

go There:

Index: java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java

 

Find :

item.setEnchantLevel(0);
item.updateDatabase();

 

and replace this:

item.setEnchantLevel(0);

with:

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

 

Jizz

 

Credits Me ....  i Broke my head to find this simple thing

 

p.s i have done some java lessons :P

Posted

First of all, I would appriciate it if you could just the prefix of your thing to [share] or [Guide] whatever.

Now.. Tell me why you don't make a simple patch ?, it's easy.

Anyway, 0.3 line code.

Posted

i cant make patch cause work on l2jbrasil and i tested it on l2jserver.. every project got other links.. example brasil got java/com/it/br/gameserver

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