Examples of stopRespawn()


Examples of com.l2jfrozen.gameserver.model.spawn.L2GroupSpawn.stopRespawn()

        int randY = Rnd.nextInt(MobGroupTable.RANDOM_RANGE);

        spawn.setLocx(x + signX * randX);
        spawn.setLocy(y + signY * randY);
        spawn.setLocz(z);
        spawn.stopRespawn();

        SpawnTable.getInstance().addNewSpawn(spawn, false);
        getMobs().add((L2ControllableMobInstance) spawn.doGroupSpawn());
        spawn = null;
      }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

        spawn.init();

        if(!permanent)
        {
          spawn.stopRespawn();
        }

        activeChar.sendMessage("Created " + template1.name + " on " + target.getObjectId());
      //}
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

        spawn.setLocx(_fisher.GetFishx());
        spawn.setLocy(_fisher.GetFishy());
        spawn.setLocz(_fisher.GetFishz());
        spawn.setAmount(1);
        spawn.setHeading(_fisher.getHeading());
        spawn.stopRespawn();
        ((L2PenaltyMonsterInstance) spawn.doSpawn()).setPlayerToKill(_fisher);
        spawn = null;
      }
      catch(Exception e)
      {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

        target.deleteMe();
        L2Spawn spawn = target.getSpawn();

        if(spawn != null)
        {
          spawn.stopRespawn();
          SpawnTable.getInstance().deleteSpawn(spawn, false);
        }

        _log.finest("Removed NPC " + target.getObjectId());
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

    L2Spawn spawnDat = _mysteriousBoxSpawns.get(npcId);
    if(spawnDat != null)
    {
      _allMobs.add(spawnDat.doSpawn());
      spawnDat.stopRespawn();
    }
    spawnDat = null;
  }

  public void spawnMonster(int npcId)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

              keyBoxMobSpawn.setLocz(spawnDat.getLocz());
              keyBoxMobSpawn.setHeading(spawnDat.getHeading());
              keyBoxMobSpawn.setRespawnDelay(3600);
              SpawnTable.getInstance().addNewSpawn(keyBoxMobSpawn, false);
              mob = (L2SepulcherMonsterInstance) keyBoxMobSpawn.doSpawn();
              keyBoxMobSpawn.stopRespawn();
            }
            else
            {
              _log.warning("FourSepulchersManager.SpawnMonster: Data missing in NPC table for ID: 18149");
            }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      spawnDat.setLocy(activeChar.getY());
      spawnDat.setLocz(activeChar.getZ());
      spawnDat.setHeading(activeChar.getHeading());
      spawnDat.setRespawnDelay(3600);
      _allMobs.add(spawnDat.doSpawn());
      spawnDat.stopRespawn();

      spawnDat = null;
    }
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      spawnDat.setLocy(activeChar.getY());
      spawnDat.setLocz(activeChar.getZ());
      spawnDat.setHeading(activeChar.getHeading());
      spawnDat.setRespawnDelay(3600);
      _allMobs.add(spawnDat.doSpawn());
      spawnDat.stopRespawn();

      spawnDat = null;
    }
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

    L2Spawn spawnDat = _shadowSpawns.get(npcId);
    if(spawnDat != null)
    {
      L2SepulcherMonsterInstance mob = (L2SepulcherMonsterInstance) spawnDat.doSpawn();
      spawnDat.stopRespawn();

      if(mob != null)
      {
        mob.mysteriousBoxId = npcId;
        _allMobs.add(mob);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.spawn.L2Spawn.stopRespawn()

      target.deleteMe();

      L2Spawn spawn = target.getSpawn();
      if(spawn != null)
      {
        spawn.stopRespawn();

        if(RaidBossSpawnManager.getInstance().isDefined(spawn.getNpcid()) && !spawn.is_customBossInstance())
        {
          RaidBossSpawnManager.getInstance().deleteSpawn(spawn, true);
         
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.