Package lineage2.gameserver.utils

Examples of lineage2.gameserver.utils.Location


  }

  private void initWave8(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55432, -176680, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55432, -176744, -7974, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(55432, -176648, -7974, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(55496, -176792, -7976, 16383), 0);
    NpcInstance npc5 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(55464, -176680, -7974, 16383), 0);
    NpcInstance npc6 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(55576, -176584, -7980, 16383), 0);
    NpcInstance npc7 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55416, -176776, -7974, 16383), 0);
    NpcInstance npc8 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55368, -176664, -7974, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    _npcWaves.add(npc5);
View Full Code Here


  }

  private void initWave7(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55432, -176680, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55432, -176744, -7974, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(55432, -176648, -7974, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(55464, -176680, -7974, 16383), 0);
    NpcInstance npc5 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55416, -176776, -7974, 16383), 0);
    NpcInstance npc6 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55368, -176664, -7974, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    _npcWaves.add(npc5);
View Full Code Here

  }

  private void initWave6(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(56840, -176712, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(56824, -176648, -7974, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(56824, -176584, -7980, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(56872, -176632, -7974, 16383), 0);
    NpcInstance npc5 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56904, -176696, -7974, 16383), 0);
    NpcInstance npc6 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56904, -176792, -7976, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    _npcWaves.add(npc5);
View Full Code Here

  }

  private void initWave5(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55448, -176760, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55464, -176664, -7974, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(55560, -176744, -7974, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(55512, -176824, -7980, 16383), 0);
    NpcInstance npc5 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55448, -176808, -7980, 16383), 0);
    NpcInstance npc6 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55400, -176776, -7974, 16383), 0);
    NpcInstance npc7 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55384, -176696, -7974, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    _npcWaves.add(npc5);
View Full Code Here

  }

  private void initWave4(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(56216, -177624, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Shaman, new Location(56088, -177624, -7975, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(56168, -177544, -7975, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(56296, -177512, -7980, 16383), 0);
    NpcInstance npc5 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(56376, -177512, -7980, 16383), 0);
    NpcInstance npc6 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(55944, -177512, -7980, 16383), 0);
    NpcInstance npc7 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56296, -177448, -7979, 16383), 0);
    NpcInstance npc8 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(55992, -177384, -7980, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    _npcWaves.add(npc5);
View Full Code Here

  }

  private void initWave3(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(56808, -176680, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(56824, -176792, -7979, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56760, -176712, -7974, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56824, -176584, -7980, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    npc1.addListener(deathListener);
View Full Code Here

  }

  private void initWave2(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(56808, -176680, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(56824, -176792, -7979, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56760, -176712, -7974, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56824, -176584, -7980, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    npc1.addListener(deathListener);
View Full Code Here

  }

  private void initWave1(Player player)
  {
    // _npcWaves
    NpcInstance npc1 = player.getReflection().addSpawnWithoutRespawn(Slayer, new Location(56168, -177592, -7974, 16383), 0);
    NpcInstance npc2 = player.getReflection().addSpawnWithoutRespawn(Pursuer, new Location(56248, -177576, -7974, 16383), 0);
    NpcInstance npc3 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56072, -177544, -7977, 16383), 0);
    NpcInstance npc4 = player.getReflection().addSpawnWithoutRespawn(Guard_Darkness, new Location(56312, -177576, -7980, 16383), 0);
    _npcWaves.add(npc1);
    _npcWaves.add(npc2);
    _npcWaves.add(npc3);
    _npcWaves.add(npc4);
    npc1.addListener(deathListener);
View Full Code Here

  public Soros(NpcInstance actor)
  {
    super(actor);
    _points = new Location[]
    {
      new Location(-114296, 252408, -1591),
      new Location(-114232, 251160, -1748),
      new Location(-113992, 250776, -1841),
      new Location(-112376, 250488, -2087),
      new Location(-111576, 249640, -2394),
      new Location(-109896, 248392, -2728),
      new Location(-109496, 247064, -3024),
      new Location(-108776, 247320, -3228),
      new Location(-107800, 248792, -3245),
      new Location(-108776, 247320, -3228),
      new Location(-109496, 247064, -3024),
      new Location(-109896, 248392, -2728),
      new Location(-111576, 249640, -2394),
      new Location(-112376, 250488, -2087),
      new Location(-113992, 250776, -1841),
      new Location(-114232, 251160, -1748)
    };
  }
View Full Code Here

   * @param randomOffset int
   * @return NpcInstance
   */
  public NpcInstance addSpawnWithoutRespawn(int npcId, Location loc, int randomOffset)
  {
    Location newLoc;
    if (randomOffset > 0)
    {
      newLoc = Location.findPointToStay(loc, 0, randomOffset, getGeoIndex()).setH(loc.h);
    }
    else
View Full Code Here

TOP

Related Classes of lineage2.gameserver.utils.Location

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.