EoN Posted February 17, 2010 Share Posted February 17, 2010 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 More sharing options...
0 hakerboy Posted February 18, 2010 Share Posted February 18, 2010 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 More sharing options...
0 EoN Posted February 18, 2010 Author Share Posted February 18, 2010 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 More sharing options...
0 xAddytzu Posted February 18, 2010 Share Posted February 18, 2010 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 More sharing options...
0 EoN Posted February 19, 2010 Author Share Posted February 19, 2010 Oo thanks a lot!!!!!!!!!!!!! You are nice guy xAddytzu :) Link to comment Share on other sites More sharing options...
Question
EoN
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