Package lineage2.gameserver.model.items

Examples of lineage2.gameserver.model.items.ItemAttributes.clone()


                if ((rndNum >= chanceFrom) && (rndNum <= (chance + chanceFrom)))
                {
                  product.setEnchantLevel(enchantLevel);
                  if (attributes != null)
                  {
                    product.setAttributes(attributes.clone());
                  }
                  if (augmentationId != 0)
                  {
                    product.setAugmentationId(augmentationId);
                  }
View Full Code Here


              else
              {
                product.setEnchantLevel(enchantLevel);
                if (attributes != null)
                {
                  product.setAttributes(attributes.clone());
                }
                if (augmentationId != 0)
                {
                  product.setAugmentationId(augmentationId);
                }
View Full Code Here

    if (getRestartPoints() == null)
    {
      return null;
    }
    Location loc = getRestartPoints().get(Rnd.get(getRestartPoints().size()));
    return loc.clone();
  }
 
  /**
   * Method getPKSpawn.
   * @return Location
View Full Code Here

    if (getPKRestartPoints() == null)
    {
      return getSpawn();
    }
    Location loc = getPKRestartPoints().get(Rnd.get(getPKRestartPoints().size()));
    return loc.clone();
  }
 
  /**
   * Method checkIfInZone.
   * @param x int
View Full Code Here

        nextloc = GeoEngine.moveInWaterCheck(getX(), getY(), getZ(), dest.x, dest.y, dest.z, waterZ, geoIndex);
        if (nextloc == null)
        {
          return false;
        }
        List<Location> moveList = GeoMove.constructMoveList(getLoc(), nextloc.clone());
        _targetRecorder.clear();
        if (!moveList.isEmpty())
        {
          _targetRecorder.add(moveList);
        }
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.