Jump to content
  • 0

Item Delevel After Enchant Fail


Hyo

Question

i need help with that..

 

For example: i want to make a weap +7 and if it fail, i want the weapon down to +6...

 

At the moment in my source the blessed fail config is this

if (blessedScroll)
					{
						item.setEnchantLevel(Config.BREAK_ENCHANT);
						item.updateDatabase();

if change the Config.BREAK_ENCHANT for -1 when fail, the weapon are maked +65535  :dat:

 

How i can make it?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
[javac] C:\Users\Computer\workspace\Interlude\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestEnchantItem.java:744: error: not a statement
    [javac] 						item.getEnchantLevel()-1;
    [javac] 						                      ^
    [javac] 1 error

cant build

Link to comment
Share on other sites

  • 0

yes, i replace 

if (blessedScroll)
					{
						item.getEnchantLevel() - 1;
						item.updateDatabase();

lol :troll:

 

Locked.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


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