Skip to content

Important, One question about L2 Scripts.

Featured Replies

hello dears friends,

 

i have one question about the scripts. (L2 client epilogue)

i want make enchant scroll +1000 but i dont know how make it.

i need the Script and Location For Make + 1 ; +100 ; +1000 enchants scroll.

If is possible can send me some help and info please about this topic.

Really i need help with this problem.

thanks to all in advanced friends

im waiting the replys :)

cya

and good day.

  ;)

 

you mean that you want 3 diffirent scrolls? one that will give 1 enchant one other that will give 100 enchants and another that will give 1k enchants when you enchant your weapon?

  • Author

yes, i will make 3 different scrolls. One  chrystal scroll that give me +1, other that give me +100, and other that give me +1000 to add in GM shop.

But i need the Scripts and Location For Make it.

If some one know how i do for make it please tell me.

Thanks in advance.

package net.sf.l2j.gameserver.clientpackets RequestEnchantItem

 

Find item.setEnchantLevel(item.getEnchantLevel()+1); and replace the line with:

 

if (scroll.getItemId() >= x && scroll.getItemId() <= x)

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

else if (scroll.getItemId() >= x1 && scroll.getItemId() <= x1)

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

else if (scroll.getItemId() >= x2 && scroll.getItemId() <= x2)

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

  • Author

Oo thanks a lot!!!!!!!!!!!!!

You are nice guy xAddytzu

:)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.