Package lineage2.gameserver.model.items

Examples of lineage2.gameserver.model.items.ItemInstance.canBeEnchanted()


        {
          for (int i = 0; i < _amount; i++)
          {
            ItemInstance product = ItemFunctions.createItem(in.getItemId());
           
            if (keepenchant && product.canBeEnchanted())
            {
              if (in.getChance() >= 0)
              {
                chance = in.getChance();             
               
View Full Code Here


                }
                itms.add(enchant ? ingredient.getItemId() + (ingredient.getItemEnchant() * 100000) : ingredient.getItemId());
                MultiSellEntry possibleEntry = new MultiSellEntry(enchant ? ent.getEntryId() + (item.getEnchantLevel() * 100000) : ent.getEntryId());
                for (MultiSellIngredient p : ent.getProduction())
                {
                  if (enchant && template.canBeEnchanted())
                  {
                    p.setItemEnchant(item.getEnchantLevel());
                    p.setItemAttributes(item.getAttributes().clone());
                  }
                  possibleEntry.addProduct(p);
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.