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

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
Reply to this topic...

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



×
×
  • Create New...