AlexHack Posted February 25, 2020 Posted February 25, 2020 (edited) Delete Edited November 26, 2020 by AlexHack
SweeTs Posted February 26, 2020 Posted February 26, 2020 (edited) Do you know that you can cut the code by half? Use godamn scroll type check under ONE case. case x: if blessed, blessed msg else crystal message Easily could be moved to a method with actual enchant level + 1 variable. Btw, is it even working? Cuz you switch itemType, not enchant value, from first eye look :D Edited February 26, 2020 by SweeTs
tazerman2 Posted February 26, 2020 Posted February 26, 2020 you can make this like take enchant rate from config with arraylist like enchant lvl,enchant Rate; * 1,100; 2,85; 3,65; * and make only 1/2 line code so easy..
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