Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2J_Core
- Index: java/com/l2jserver/gameserver/network/clientpackets/RequestAutoSoulShot.java
- ===================================================================
- --- java/com/l2jserver/gameserver/network/clientpackets/RequestAutoSoulShot.java (revision 5036)
- +++ java/com/l2jserver/gameserver/network/clientpackets/RequestAutoSoulShot.java (working copy)
- @@ -107,11 +107,13 @@
- }
- else
- {
- + activeChar.addAutoSoulShot(_itemId);
- + activeChar.sendPacket(new ExAutoSoulShot(_itemId, _type));
- +
- if (activeChar.getActiveWeaponItem() != activeChar.getFistsWeaponItem()
- && item.getItem().getCrystalType() == activeChar.getActiveWeaponItem().getItemGradeSPlus())
- {
- - activeChar.addAutoSoulShot(_itemId);
- - activeChar.sendPacket(new ExAutoSoulShot(_itemId, _type));
- + activeChar.rechargeAutoSoulShot(true, true, false);
- }
- else
- {
- @@ -119,17 +121,12 @@
- activeChar.sendPacket(SystemMessageId.SPIRITSHOTS_GRADE_MISMATCH);
- else
- activeChar.sendPacket(SystemMessageId.SOULSHOTS_GRADE_MISMATCH);
- -
- - activeChar.addAutoSoulShot(_itemId);
- - activeChar.sendPacket(new ExAutoSoulShot(_itemId, _type));
- }
- // start the auto soulshot use
- SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
- sm.addItemName(item);// Update Message by rocknow
- activeChar.sendPacket(sm);
- -
- - activeChar.rechargeAutoSoulShot(true, true, false);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment