Package l2p.gameserver.model.entity

Examples of l2p.gameserver.model.entity.Coliseum$StopBattle


        return;
      }
      */
      if(st.hasMoreTokens())
      {
        Coliseum coliseum = UnderGroundColliseumManager.getInstance().getColiseumByLevelLimit(getMaxLevel());
        if(coliseum == null)
        {
          showChatWindow(player, 3);
          return;
        }
        if(coliseum.getWaitingPartys().size() > 4)
        {
          showChatWindow(player, 3);
          return;
        }
        for(L2Player member : player.getParty().getPartyMembers())
        {
          if(member.getLevel() > getMaxLevel() || member.getLevel() < getMinLevel())
          {
            player.sendPacket(new SystemMessage(SystemMessage.C1S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
            return;
          }
          if(member.isCursedWeaponEquipped())
          {
            player.sendPacket(new SystemMessage(SystemMessage.C1S_QUEST_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
            return;
          }
        }
        Coliseum.register(player, getMinLevel(), getMaxLevel());
        return;
      }
      else
      {
        Log.add("Wrong data or cheater? try to register whithout lvl", "Coliseum");
      }
    }
    else if(actualCommand.startsWith("view"))
    {
      int count = 0;
      String filename = "data/html/Coliseum/" + 5 + ".htm";
      NpcHtmlMessage html = new NpcHtmlMessage(player, this, filename, 5);
      Coliseum coliseum = UnderGroundColliseumManager.getInstance().getColiseumByLevelLimit(getMaxLevel());
      if(coliseum != null)
      {
        for(L2Party team : coliseum.getWaitingPartys())
        {
          if(team != null)
          {
            if(count == 0)
            {
View Full Code Here


    }
    else
    {
      for(L2Zone zone : zones)
      {
        getColiseums().put(zone.getIndex(), new Coliseum(zone.getIndex()));
      }
    }
    _log.info("Loaded: " + getColiseums().size() + " UnderGround Colliseums.");
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.entity.Coliseum$StopBattle

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.