Examples of canBeEnchanted()


Examples of l2p.gameserver.model.items.L2ItemInstance.canBeEnchanted()

            }
            if(in.getElementValue() > 0)
            {
              product.setAttributeElement(in.getElement(), in.getElementValue(), true);
            }
            if(augmentation != null && product.isEquipable() && product.canBeEnchanted() && !product.isRaidAccessory())
            {
              product.setAugmentation(augmentation);
            }
            if(logExchange)
            {
View Full Code Here

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

Examples of lineage2.gameserver.templates.item.ItemTemplate.canBeEnchanted()

                }
                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.