tomka Posted January 15, 2011 Share Posted January 15, 2011 We can make very good custom enchant system, which is belong to your formula. But careful when change core. 2 file need change requestenchantitem.java and abstractEnchantpacket.java (search by window explorer 4 paths). And change in abstractenchantpacket.java the lines has _isBless: int myCount; for (myCount = 0; myCount < Config.ENCHANT_MAX_WEAPON; myCount++) { if (myCount > Config.ENCHANT_SAFE_MAX){ chance = "make your formula here!!!"; } } Good luck. Quote Link to comment Share on other sites More sharing options...
niksan1 Posted February 27, 2011 Share Posted February 27, 2011 interesting code...testing Quote Link to comment Share on other sites More sharing options...
AlienWare Posted February 28, 2011 Share Posted February 28, 2011 It works! Thanks for the share man. Quote Link to comment Share on other sites More sharing options...
exity Posted April 10, 2011 Share Posted April 10, 2011 How can i add a message with the % for the guy who will enchant? ty in advance Quote Link to comment Share on other sites More sharing options...
rayven18 Posted February 3, 2012 Share Posted February 3, 2012 Hey thanks for the code. I tried to change the rates a little bit. After +10 i tried configure the chance to drop 5% per enchant but i couldnt make it work. Can you help me ? Id be really glad. Thanks! Quote Link to comment Share on other sites More sharing options...
SunOSx Posted February 7, 2012 Share Posted February 7, 2012 Thanks For idea!! Quote Link to comment Share on other sites More sharing options...
[AoH]Kratos Posted March 11, 2012 Share Posted March 11, 2012 Very interesting. Everybody can adapt the percentage drop by his own " taste ". Thanks for this. I am definitely going to use your share on my server. Quote Link to comment Share on other sites More sharing options...
hensushin Posted December 27, 2012 Share Posted December 27, 2012 thank you very much, exactly what I was looking for Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.