Examples of SpawnRange


Examples of lineage2.gameserver.templates.spawn.SpawnRange

   */
  @Override
  protected NpcInstance initNpc(NpcInstance mob, boolean spawn, MultiValueSet<String> set)
  {
    _reSpawned.remove(mob);
    SpawnRange range = _template.getSpawnRange(getNextRangeId());
    mob.setSpawnRange(range);
    return initNpc0(mob, range.getRandomLoc(getReflection().getGeoIndex()), spawn, set);
  }
View Full Code Here

Examples of lineage2.gameserver.templates.spawn.SpawnRange

    final int z = GeoEngine.getHeight(x, y, sloc.z, actor.getGeoIndex());
    if ((sloc.z - z) > 64)
    {
      return false;
    }
    final SpawnRange spawnRange = actor.getSpawnRange();
    boolean isInside = true;
    if ((spawnRange != null) && (spawnRange instanceof Territory))
    {
      isInside = ((Territory) spawnRange).isInside(x, y);
    }
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.