Jump to content

Recommended Posts

Posted (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 by SweeTs
Posted

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..

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock