Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P aCis_gameserver
- Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
- ===================================================================
- --- java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (revision 5)
- +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (working copy)
- @@ -232,6 +232,24 @@
- }
- }
- + if (scrollTemplate.isBlessed() && item.getEnchantLevel() == 17)
- + {
- + activeChar.sendPacket(SystemMessageId.BLESSED_ENCHANT_FAILED);
- +
- + item.setEnchantLevel(12);
- + item.updateDatabase();
- + activeChar.sendPacket(EnchantResult.UNSUCCESS);
- + }
- +
- + if (scrollTemplate.isBlessed() && item.getEnchantLevel() == 14)
- + {
- + activeChar.sendPacket(SystemMessageId.BLESSED_ENCHANT_FAILED);
- +
- + item.setEnchantLevel(item.getEnchantLevel() - 1);
- + item.updateDatabase();
- + activeChar.sendPacket(EnchantResult.UNSUCCESS);
- + }
- +
- if (scrollTemplate.isBlessed())
- {
- // blessed enchant - clear enchant value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement