FDB Posted May 23, 2010 Posted May 23, 2010 =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
TrompieBation Posted May 23, 2010 Posted May 23, 2010 very handy.. -1 the weapon now hehe =) Thanks for sharing.
FDB Posted May 24, 2010 Author Posted May 24, 2010 they not go from 0 to -1 ! example y got +15 and go for 16? if fails goes 14
Cod3x Posted May 24, 2010 Posted May 24, 2010 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.
FDB Posted May 24, 2010 Author Posted May 24, 2010 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
FighterBoss Posted May 24, 2010 Posted May 24, 2010 Good one.Thnx for that mate. I am on the way of new pack and maybe i'll added. Gratz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now