Skip to content

[Share]Custom Enchant System

Featured Replies

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.

 

  • 1 month later...

interesting code...testing

It works! Thanks for the share man.

  • 1 month later...

How can i add a message with the % for the guy who will enchant? ty in advance

  • 9 months later...

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!

Thanks For idea!!

  • 1 month later...

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.

  • 9 months later...

thank you very much, exactly what I was looking for

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.