}
ItemInstance item = createItem(activeChar, item_id, 1);
Element element = Element.getElementById(elementId);
item.setAttributeElement(element, item.getAttributeElementValue(element, false) + value);
item.setJdbcState(JdbcEntityState.UPDATED);
item.update();
activeChar.sendPacket(new InventoryUpdate().addModifiedItem(item));
}
catch (NumberFormatException nfe)
{
activeChar.sendMessage("USAGE: create_item id [count]");