Jump to content

[Share]Custom Enchant System


Emrys

Recommended Posts

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.

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 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!

Link to comment
Share on other sites

  • 1 month later...
  • 9 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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