Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.InventoryUpdate.addModifiedItem()


    targetItem.getAugmentation().removeBoni(activeChar);
    // remove the augmentation
    targetItem.removeAugmentation();
    // send inventory update
    InventoryUpdate iu = new InventoryUpdate();
    iu.addModifiedItem(targetItem);
    // send system message
    SystemMessage sm = new SystemMessage(SystemMessage.AUGMENTATION_HAS_BEEN_SUCCESSFULLY_REMOVED_FROM_YOUR_S1);
    sm.addItemName(targetItem.getItemId());
    activeChar.sendPacket(new ExVariationCancelResult(1), iu, sm);
    activeChar.broadcastUserInfo(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.