Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.SimpleSpawner.respawnNpc()


    }
    final SimpleSpawner spawn = new SimpleSpawner(template);
    spawn.setLoc(activeChar.getLoc());
    final NpcInstance npc = spawn.doSpawn(false);
    npc.setTitle(activeChar.getName());
    spawn.respawnNpc(npc);
    if (itemId == 5561)
    {
      npc.setAI(new ctreeAI(npc));
    }
    ThreadPoolManager.getInstance().schedule(new DeSpawnScheduleTimerTask(spawn), (activeChar.isInPeaceZone() ? DESPAWN_TIME / 3 : DESPAWN_TIME));
View Full Code Here


              continue;
            }
            spawn.decreaseScheduledCount();
            if (spawn.isDoRespawn())
            {
              spawn.respawnNpc(work);
            }
          }
        }
        catch (Exception e)
        {
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.