Package games.stendhal.server.core.engine.dbcommand

Examples of games.stendhal.server.core.engine.dbcommand.LogSimpleItemEventCommand


  }

  public void splitOff(final RPEntity player, final Item item, final int quantity) {
    final String oldQuantity = getQuantity(item);
    final String outlivingQuantity = Integer.toString(Integer.parseInt(oldQuantity) - quantity);
    addLogItemEventCommand(new LogSimpleItemEventCommand(item, player, "split out", "-1", oldQuantity, outlivingQuantity, Integer.toString(quantity)));
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.engine.dbcommand.LogSimpleItemEventCommand

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.