Examples of DimensionalRiftRoom


Examples of com.l2jfrozen.gameserver.managers.DimensionalRiftManager.DimensionalRiftRoom

    {
      spawnTimer.cancel();
      spawnTimer = null;
    }

    final DimensionalRiftRoom riftRoom = DimensionalRiftManager.getInstance().getRoom(_type, room);
    riftRoom.setUsed();

    spawnTimer = new Timer();
    spawnTimerTask = new TimerTask()
    {
      @Override
      public void run()
      {
        riftRoom.spawn();
      }
    };

    spawnTimer.schedule(spawnTimerTask, Config.RIFT_SPAWN_DELAY);
  }
View Full Code Here

Examples of l2p.gameserver.instancemanager.DimensionalRiftManager.DimensionalRiftRoom

    if(spawnTimer != null)
    {
      spawnTimer.cancel();
      spawnTimer = null;
    }
    final DimensionalRiftRoom riftRoom = DimensionalRiftManager.getInstance().getRoom(_roomType, room);
    spawnTimer = new Timer();
    spawnTimerTask = new TimerTask()
    {
      @Override
      public void run()
      {
        for(L2Spawn s : riftRoom.getSpawns())
        {
          L2Spawn sp = s.clone();
          sp.setReflection(_id);
          addSpawn(sp);
          if(!isBossRoom)
          {
            sp.startRespawn();
          }
          for(int i = 0; i < sp.getAmount(); i++)
          {
            sp.doSpawn(true);
          }
        }
        Quest.addSpawnToInstance(getManagerId(), riftRoom.getTeleportCoords(), 0, _id);
      }
    };
    spawnTimer.schedule(spawnTimerTask, Config.RIFT_SPAWN_DELAY);
  }
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.