Lineage II Classic Einhovant new project is looking for a skilled Java Developer to join our team!
If you're passionate about game development and eager to contribute to this project, we'd love to hear from you.
For more details, feel free to send us a message. Let’s create something amazing together!
Question
sotid
if(blessedScroll){ item.setEnchantLevel(Config.BREAK_ENCHANT); item.updateDatabase(); }else if(crystalScroll){ item.setEnchantLevel(Config.CRYSTAL_ENCHANT_MIN); item.updateDatabase();
So I found some topics about custom enchant system but not what I want to do.
I want the bless /crystals when the enchant fails , the item's enchantment to not change.
If I enchant a +16 bow and fails then it stays +16.
Edited by sotid2 answers to this question
Recommended Posts