Jump to content
  • 0

Important, One question about L2 Scripts.


EoN

Question

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.

  ;)

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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?

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...