Jump to content
  • 0

Crystalize Instead Of Back To +0 When Enchanting


synthe

Question

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

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...