Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.ItemContainer.addItem()


          if (count < 1) {
            if (Rnd.nextInt(99) < 90)
              count = 1;
          }
          if (count > 0) {
            cwh.addItem("Manor", L2Manor.getInstance().getMatureCrop(crop.getId()), count, null, null);
          }
        }
        // reserved and not used money giving back to treasury
        if (crop.getAmount() > 0) {
          c.addToTreasuryNoTax(crop.getAmount() * crop.getPrice());
 
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.