Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.ExShowBaseAttributeCancelWindow


                }
            } else if (command.startsWith("Loto")) {
                int val = Integer.parseInt(command.substring(5));
                showLotoWindow(player, val);
            } else if (command.startsWith("AttributeCancel")) {
                player.sendPacket(new ExShowBaseAttributeCancelWindow(player,
                        RequestExRemoveItemAttribute.UNENCHANT_PRICE));
            } else if (command.startsWith("CPRecovery")) {
                makeCPRecovery(player);
            } else if (command.startsWith("NpcLocationInfo")) {
                int val = Integer.parseInt(command.substring(16));
View Full Code Here


    activeChar.reduceAdena(UNENCHANT_PRICE, true);
    itemToUnnchant.setAttributeElement(L2Item.ATTRIBUTE_NONE, 0, true);
    activeChar.getInventory().refreshListeners();
    activeChar.sendPacket(new InventoryUpdate().addModifiedItem(itemToUnnchant));
    activeChar.sendChanges();
    activeChar.sendPacket(new ExShowBaseAttributeCancelWindow(activeChar, UNENCHANT_PRICE));
    Log.add(activeChar.getName() + "|Successfully unenchanted attribute|" + itemToUnnchant.getItemId(), "enchants");
    Log.LogItem(activeChar, Log.EnchantItem, itemToUnnchant);
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.ExShowBaseAttributeCancelWindow

Copyright © 2018 www.massapicom. 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.