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

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


  {
    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


      }
      else
      {
        template = NpcTable.getInstance().getTemplate(35422 + flagCounter);
      }
      L2DecoInstance flag = new L2DecoInstance(IdFactory.getInstance().getNextId(), template);
      flag.setTitle(clan.getName());
      flag.setHeading(100);
      flag.getStatus().setCurrentHpMp(flag.getMaxHp(), flag.getMaxMp());
      if(clan == clanhall.getOwnerClan())
      {
        flag.spawnMe(58782, -93180, -1354);
        clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
        regPlayers._flag = flag;
        continue;
      }
     
      if(flagCounter == 1)
      {
        flag.spawnMe(56769, -92097, -1360);
      }
      else if(flagCounter == 2)
      {
        flag.spawnMe(59138, -92532, -1354);
      }
      else if(flagCounter == 3)
      {
        flag.spawnMe(57027, -93673, -1365);
      }
      else if(flagCounter == 4)
      {
        flag.spawnMe(58120, -91440, -1354);
      }
      else if(flagCounter == 5)
      {
        flag.spawnMe(58428, -93787, -1360);
      }
      clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
      regPlayers._flag = flag;
      flagCounter++;
    }
View Full Code Here

  {
    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

      }
      else
      {
        template = NpcTable.getInstance().getTemplate(35422 + flagCounter);
      }
      L2DecoInstance flag = new L2DecoInstance(IdFactory.getInstance().getNextId(), template);
      flag.setTitle(clan.getName());
      flag.setHeading(100);
      flag.getStatus().setCurrentHpMp(flag.getMaxHp(), flag.getMaxMp());
      if(clan == clanhall.getOwnerClan())
      {
        flag.spawnMe(81700, -16300, -1828);
        clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
        regPlayers._flag = flag;
        continue;
      }
     
      if(flagCounter == 1)
      {
        flag.spawnMe(83452, -17654, -1828);
      }
      else if(flagCounter == 2)
      {
        flag.spawnMe(81718, -14826, -1829);
      }
      else if(flagCounter == 3)
      {
        flag.spawnMe(85020, -15891, -1823);
      }
      else if(flagCounter == 4)
      {
        flag.spawnMe(81222, -16803, -1829);
      }
      else if(flagCounter == 5)
      {
        flag.spawnMe(83486, -15069, -1828);
      }
      clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
      regPlayers._flag = flag;
      flagCounter++;
    }
View Full Code Here

TOP

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

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.