Package l2p.gameserver.model.base

Examples of l2p.gameserver.model.base.ItemToDrop


      }
      if(notlast)
      {
        continue;
      }
      ItemToDrop t = new ItemToDrop(i.getItemId());
      if(i.getMinDrop() >= i.getMaxDrop())
      {
        t.count = (int) Math.round(i.getMinDrop() * mult);
      }
      else
 
View Full Code Here


    {
      if(Rnd.get(L2Drop.MAX_CHANCE) > calcChance)
      {
        continue;
      }
      ItemToDrop t = new ItemToDrop(_item.getItemId());
      // если это адена то умножаем на рейт адены, иначе на множитель перебора шанса
      float mult = _item.isAdena() ? adenarate : 1;
      if(getMinDrop() >= getMaxDrop())
      {
        t.count = (int) (getMinDrop() * mult);
 
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.base.ItemToDrop

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.