}
if(party_waiting_list.size() == 0)
{
return;
}
L2Party next = party_waiting_list.get(Rnd.get(party_waiting_list.size() - 1));
for(L2Player member : next.getPartyMembers())
{
if(member.getLevel() > getMaxLevel() || member.getLevel() < getMinLevel())
{
next.broadcastToPartyMembers(new SystemMessage(SystemMessage.C1S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
return;
}
if(member.isCursedWeaponEquipped())
{
next.broadcastToPartyMembers(new SystemMessage(SystemMessage.C1S_QUEST_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
return;
}
int[] teleloc = getFreeWaitingRoom();
if(teleloc[0] == 0)
{
Log.add("bug cannot find teleloc for coliseum id: " + getId(), "UC");
return;
}
teleportToWaitingRoom(next, teleloc);
}
if(party_waiting_list.size() < 2)
{
return;
}
L2Party next2 = party_waiting_list.get(Rnd.get(party_waiting_list.size() - 1));
while(next2 == next)
{
next2 = party_waiting_list.get(Rnd.get(party_waiting_list.size() - 1));
}
next = next2;