Examples of DelusionChamberRoom


Examples of lineage2.gameserver.instancemanager.DelusionChamberManager.DelusionChamberRoom

    if (spawnTask != null)
    {
      spawnTask.cancel(false);
      spawnTask = null;
    }
    final DelusionChamberRoom riftRoom = DelusionChamberManager.getInstance().getRoom(_roomType, room);
    spawnTask = ThreadPoolManager.getInstance().schedule(new RunnableImpl()
    {
      @Override
      public void runImpl()
      {
        for (SimpleSpawner s : riftRoom.getSpawns())
        {
          SimpleSpawner sp = s.clone();
          sp.setReflection(DelusionChamber.this);
          addSpawn(sp);
          if (!isBossRoom)
          {
            sp.startRespawn();
          }
          for (int i = 0; i < sp.getAmount(); i++)
          {
            sp.doSpawn(true);
          }
        }
        DelusionChamber.this.addSpawnWithoutRespawn(getManagerId(), riftRoom.getTeleportCoords(), 0);
      }
    }, 10000);
  }
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.