Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance.deleteMe()


    {
      synchronized(_Room1Mobs){
        for (L2NpcInstance mob : _Room1Mobs)
        {
          if (mob != null)
            mob.deleteMe();
        }
        _Room1Mobs.clear();
      }     
    }
    else if (event.equalsIgnoreCase("room2_del"))
View Full Code Here


    {
      synchronized(_Room2Mobs){
        for (L2NpcInstance mob : _Room2Mobs)
        {
          if (mob != null)
            mob.deleteMe();
        }
        _Room2Mobs.clear();
      }   
    }
    else if (event.equalsIgnoreCase("kama_spawn"))
View Full Code Here

    {
      synchronized(_KamaMob){
        for (L2NpcInstance mob : _KamaMob)
        {
          if (mob != null)
            mob.deleteMe();
        }
        _KamaMob.clear();
      }   
    }
    else if (event.equalsIgnoreCase("clean"))
View Full Code Here

    {
      synchronized(_Cubes){
        for (L2NpcInstance cubes : _Cubes)
        {
          if (cubes != null)
            cubes.deleteMe();
        }
        _Cubes.clear();
      }
    }
    else if (event.equalsIgnoreCase("kamaloka_unlock"))
View Full Code Here

    {
      synchronized(_Room1Mobs){
      for (L2NpcInstance mob : _Room1Mobs)
      {
        if (mob != null)
        mob.deleteMe();
      }
        _Room1Mobs.clear();
    }

  }
View Full Code Here

    {
      synchronized(_Room2Mobs){
      for (L2NpcInstance mob : _Room2Mobs)
      {
        if (mob != null)
        mob.deleteMe();
        }
        _Room2Mobs.clear();
      }
    }
    else if (event.equalsIgnoreCase("room3_del"))
View Full Code Here

    for(L2Object obj : _visibleObjects)
    {
      if(obj instanceof L2NpcInstance)
      {
        L2NpcInstance target = (L2NpcInstance) obj;
        target.deleteMe();
        L2Spawn spawn = target.getSpawn();

        if(spawn != null)
        {
          spawn.stopRespawn();
View Full Code Here

    L2Object obj = activeChar.getTarget();

    if(obj != null && obj instanceof L2NpcInstance)
    {
      L2NpcInstance target = (L2NpcInstance) obj;
      target.deleteMe();

      L2Spawn spawn = target.getSpawn();
      if(spawn != null)
      {
        spawn.stopRespawn();
View Full Code Here

        {
          spawn.stopRespawn();
          SpawnTable.getInstance().deleteSpawn(spawn, true);
        }

        npc.deleteMe();
        L2Event.npcs.removeFirst();

        npc = null;
        spawn = null;
      }
View Full Code Here

      }

      int respawnTime = spawn.getRespawnDelay()/1000;
      boolean custom_boss_spawn = spawn.is_customBossInstance();
       
      target.deleteMe();
      spawn.stopRespawn();
     
      //check to avoid that recalling a custom raid it will be saved into database
      SpawnTable.getInstance().deleteSpawn(spawn, !custom_boss_spawn);
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.