Jump to content
  • 0

Crystalize Instead Of Back To +0 When Enchanting


Question

Posted

Hi Guys,

 

Currently my server is configured as when a player enchant his weapon and it breaks, it will return to +0. 

But I want the weapon to be crystalized, how do I configure this?

 

L2jfrozen

 

 

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

About which scroll are you talking about ? Bless, crystal ?

 

https://bitbucket.org/Shyla/l2jfrozen/src/00d1fc249449f57a48fb7677be5530e3ab54a58a/game/src/main/java/com/l2jfrozen/gameserver/network/clientpackets/RequestEnchantItem.java?at=master

 

What a hell' code oO

                    if (blessedScroll) {
                        item.setEnchantLevel(GameServerConfig.BREAK_ENCHANT);
                        item.updateDatabase();
                    } else if (crystalScroll) {
                        item.setEnchantLevel(GameServerConfig.CRYSTAL_ENCHANT_MIN);
                        item.updateDatabase();

I'm not surprised there is a config .. Just remove this part.

Edited by SweeTs
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..