Jump to content
  • 0

Question

4 answers to this question

Recommended Posts

  • 0
Posted

net.sf.l2j.gameserver.network.clientpackets

 

RequestEnchantItem.java

 

find this

 

if (scrollTemplate.isBlessed())
{
// blessed enchant - clear enchant value
activeChar.sendPacket(SystemMessageId.BLESSED_ENCHANT_FAILED);
 
item.setEnchantLevel(0);
item.updateDatabase();
activeChar.sendPacket(EnchantResult.UNSUCCESS);
}
 
and this line
 
item.setEnchantLevel(0);
 
change it to
 
item.setEnchantLevel(item.getEnchantLevel() - 2);
  • 0
Posted (edited)

 

net.sf.l2j.gameserver.network.clientpackets

 

RequestEnchantItem.java

 

find this

 

if (scrollTemplate.isBlessed())
{
// blessed enchant - clear enchant value
activeChar.sendPacket(SystemMessageId.BLESSED_ENCHANT_FAILED);
 
item.setEnchantLevel(0);
item.updateDatabase();
activeChar.sendPacket(EnchantResult.UNSUCCESS);
}
 
and this line
 
item.setEnchantLevel(0);
 
change it to
 
item.setEnchantLevel(item.getEnchantLevel() - 2);

 

i use jhellas and i have this :

else
{
sm = SystemMessage.getSystemMessage(SystemMessageId.BLESSED_ENCHANT_FAILED);
activeChar.sendPacket(sm);
}
 
if (!blessedScroll)
{
if (item.getEnchantLevel() > 0)
{
sm = SystemMessage.getSystemMessage(SystemMessageId.EQUIPMENT_S1_S2_REMOVED);
sm.addNumber(item.getEnchantLevel());
sm.addItemName(item.getItemId());
activeChar.sendPacket(sm);
}
what should i change?
Edited by aris96
  • 0
Posted (edited)

this is the option for the blessed 

 

if (item.getEnchantLevel() > -2)

 

try this

 

lol and what is that line supposed to do.. ? :happyforever:

 

 

Well, you could ask on their forum, since almost no one uses Hellas and as far as I saw it's somewhere else, not RequestEnchantItem.

 

Differences between packs :P

Edited by SweeTs
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