Package com.l2jfrozen.gameserver.templates

Examples of com.l2jfrozen.gameserver.templates.L2NpcTemplate


  public void spawnFlags()
  {
    int flagCounter = 1;
    for(String clanName : getRegisteredClans())
    {
      L2NpcTemplate template;
      L2Clan clan = ClanTable.getInstance().getClanByName(clanName);
      if(clan == clanhall.getOwnerClan())
      {
        template = NpcTable.getInstance().getTemplate(35422);
      }
View Full Code Here


      teleportPlayers();
      gateControl(2);
      int mobCounter = 1;
      for(String clanName : getRegisteredClans())
      {
        L2NpcTemplate template;
        L2Clan clan = ClanTable.getInstance().getClanByName(clanName);
        template = NpcTable.getInstance().getTemplate(35617 + mobCounter);
        /*
         * template.setServerSideTitle(true); template.setTitle(clan.getName());
         */
 
View Full Code Here

    Announce("Now its open for 2 hours!");

    L2NpcInstance result = null;
    try
    {
      L2NpcTemplate template = NpcTable.getInstance().getTemplate(MESSENGER_ID);

      L2Spawn spawn = new L2Spawn(template);
      spawn.setLocx(179040);
      spawn.setLocy(-13717);
      spawn.setLocz(-2263);
View Full Code Here

  }

  public void Siege()
  {
    L2NpcInstance result = null;
    L2NpcTemplate template = null;
    L2Spawn spawn = null;

    ClanHall CH = ClanHallManager.getInstance().getClanHallById(34);
    CH.banishForeigners();
    CH.spawnDoor();
View Full Code Here

  {
    for(MonsterLocation ml : _monsters)
    {
      try
      {
        L2NpcTemplate template = NpcTable.getInstance().getTemplate(ml.getId());
        L2Spawn sp = new L2Spawn(template);
        sp.setAmount(1);
        sp.setLocx(ml.getX());
        sp.setLocy(ml.getY());
        sp.setLocz(ml.getZ());
View Full Code Here

    {
      L2NpcInstance target = (L2NpcInstance) obj;

      int monsterTemplate = target.getTemplate().npcId;

      L2NpcTemplate template1 = NpcTable.getInstance().getTemplate(monsterTemplate);

      if(template1 == null)
      {
        activeChar.sendMessage("Incorrect monster template.");
        _log.warning("ERROR: NPC " + target.getObjectId() + " has a 'null' template.");
View Full Code Here

  public void spawnFlags()
  {
    int flagCounter = 1;
    for(String clanName : getRegisteredClans())
    {
      L2NpcTemplate template;
      L2Clan clan = ClanTable.getInstance().getClanByName(clanName);
      if(clan == clanhall.getOwnerClan())
      {
        template = NpcTable.getInstance().getTemplate(35422);
      }
View Full Code Here

      teleportPlayers();
      gateControl(2);
      int mobCounter = 1;
      for(String clanName : getRegisteredClans())
      {
        L2NpcTemplate template;
        L2Clan clan = ClanTable.getInstance().getClanByName(clanName);
        if(clan == clanhall.getOwnerClan())
        {
          continue;
        }
View Full Code Here

    {
      activeChar.sendMessage("Please select a team first");
      return;
    }

    L2NpcTemplate npctmp = NpcTable.getInstance().getTemplate(npcId);
    _endNPC = npcId;

    try
    {
      _endSpawn = new L2Spawn(npctmp);
View Full Code Here

    {
      activeChar.sendMessage("Please set a join x,y,z first");
      return;
    }

    L2NpcTemplate npctmp = NpcTable.getInstance().getTemplate(npcId);
    _joinNPC = npcId;

    try
    {
      _joinSpawn = new L2Spawn(npctmp);
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.templates.L2NpcTemplate

Copyright © 2018 www.massapicom. 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.