Examples of ExShowBaseAttributeCancelWindow


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

Examples of l2p.gameserver.serverpackets.ExShowBaseAttributeCancelWindow

    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

Examples of lineage2.gameserver.network.serverpackets.ExShowBaseAttributeCancelWindow

          }
        }
      }
      else if (command.startsWith("AttributeCancel"))
      {
        player.sendPacket(new ExShowBaseAttributeCancelWindow(player));
      }
      else if (command.startsWith("NpcLocationInfo"))
      {
        int val = Integer.parseInt(command.substring(16));
        NpcInstance npc = GameObjectsStorage.getByNpcId(val);
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.