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)
{