disast3r Posted April 15, 2010 Posted April 15, 2010 How can i make a scroll [ blessed scrolls for example] that when i press on it and enchant a weapon/armor the item will go to +30 ???? Help pls :) ty
0 EdenEternal Posted April 15, 2010 Posted April 15, 2010 go to net/sf/l2j/gameserver/clientpackets open RequestEnchantItem.java and fint lines: item.setEnchantLevel(item.getEnchantLevel()+1); item.updateDatabase(); Change +1 To +30
0 disast3r Posted April 15, 2010 Author Posted April 15, 2010 go to net/sf/l2j/gameserver/clientpackets open RequestEnchantItem.java and fint lines: item.setEnchantLevel(item.getEnchantLevel()+1); item.updateDatabase(); Change +1 To +30 yes but thats is for all scrolls right?? i want only for blessed..
0 EdenEternal Posted April 15, 2010 Posted April 15, 2010 yes but thats is for all scrolls right? yes this is for all scrolls if want to make only for Blessed Scrolls you must make big reworks in RequestEnchantItem.java
0 Matim Posted April 15, 2010 Posted April 15, 2010 It was explained XXX times, its so hard to use search? And lekino posted soultion alread, so..?
0 disast3r Posted April 15, 2010 Author Posted April 15, 2010 It was explained XXX times, its so hard to use search? And lekino posted soultion alread, so..? explained? where? how to make ONLY BLESSED scrolls to go +30 ?
0 Erol Posted April 15, 2010 Posted April 15, 2010 explained? where? how to make ONLY BLESSED scrolls to go +30 ? here http://www.maxcheaters.com/forum/index.php?topic=139609.msg989153#msg989153
0 disast3r Posted April 15, 2010 Author Posted April 15, 2010 here http://www.maxcheaters.com/forum/index.php?topic=139609.msg989153#msg989153 thats for all scrolls :S i want only for blessed!!! O.o
0 Matim Posted April 15, 2010 Posted April 15, 2010 So You can create simple check.. You can try to create something like: if(scrollTemplate.isBlessed()) item.setEnchantLevel(item.getEnchantLevel() + 1); else item.setEnchantLevel(item.getEnchantLevel() + 30);
0 disast3r Posted April 15, 2010 Author Posted April 15, 2010 So You can create simple check.. You can try to create something like: if(scrollTemplate.isBlessed()) item.setEnchantLevel(item.getEnchantLevel() + 1); else item.setEnchantLevel(item.getEnchantLevel() + 30); thx u gave me an idea i will try it ;)
0 disast3r Posted April 19, 2010 Author Posted April 19, 2010 i made it :D:D problem solved pls lock it ^^
Question
disast3r
How can i make a scroll [ blessed scrolls for example] that when i press on it and enchant a weapon/armor the item will go to +30 ???? Help pls :)
ty
11 answers to this question
Recommended Posts