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

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance


        L2Clan clan = ClanTable.getInstance().getClanByName(clanName);
        template = NpcTable.getInstance().getTemplate(35617 + mobCounter);
        /*
         * template.setServerSideTitle(true); template.setTitle(clan.getName());
         */
        L2MonsterInstance questMob = new L2MonsterInstance(IdFactory.getInstance().getNextId(), template);
        questMob.setHeading(100);
        questMob.getStatus().setCurrentHpMp(questMob.getMaxHp(), questMob.getMaxMp());
        if(mobCounter == 1)
        {
          questMob.spawnMe(57069, -91797, -1360);
        }
        else if(mobCounter == 2)
        {
          questMob.spawnMe(58838, -92232, -1354);
        }
        else if(mobCounter == 3)
        {
          questMob.spawnMe(57327, -93373, -1365);
        }
        else if(mobCounter == 4)
        {
          questMob.spawnMe(57820, -91740, -1354);
        }
        else if(mobCounter == 5)
        {
          questMob.spawnMe(58728, -93487, -1360);
        }
        clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
        regPlayers._mob = questMob;
        mobCounter++;
      }
View Full Code Here


  public void unSpawnAll()
  {
    for(String clanName : getRegisteredClans())
    {
      L2Clan clan = ClanTable.getInstance().getClanByName(clanName);
      L2MonsterInstance mob = getQuestMob(clan);
      L2DecoInstance flag = getSiegeFlag(clan);

      if(mob != null)
      {
        mob.deleteMe();
      }

      if(flag != null)
      {
        flag.deleteMe();
View Full Code Here

          continue;
        }
        template = NpcTable.getInstance().getTemplate(35427 + mobCounter);
        /*template.setServerSideTitle(true);
        template.setTitle(clan.getName());*/
        L2MonsterInstance questMob = new L2MonsterInstance(IdFactory.getInstance().getNextId(), template);
        questMob.setHeading(100);
        questMob.getStatus().setCurrentHpMp(questMob.getMaxHp(), questMob.getMaxMp());
        if(mobCounter == 1)
        {
          questMob.spawnMe(83752, -17354, -1828);
        }
        else if(mobCounter == 2)
        {
          questMob.spawnMe(82018, -15126, -1829);
        }
        else if(mobCounter == 3)
        {
          questMob.spawnMe(85320, -16191, -1823);
        }
        else if(mobCounter == 4)
        {
          questMob.spawnMe(81522, -16503, -1829);
        }
        else if(mobCounter == 5)
        {
          questMob.spawnMe(83786, -15369, -1828);
        }
        clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
        regPlayers._mob = questMob;
        mobCounter++;
      }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance

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.