case 3:
_task = ThreadPoolManager.getInstance().schedule(new CountDown(), 175000);
break;
}
byte random = 2;
final NpcTemplate template = NpcHolder.getInstance().getTemplate(18672);
try
{
for (int i = 0; i < _numOfBoxes; i++)
{
SimpleSpawner spawn = new SimpleSpawner(template);
spawn.setLocx(_arenaCoordinates[_arena][4] + Rnd.get(-400, 400));
spawn.setLocy(_arenaCoordinates[_arena][5] + Rnd.get(-400, 400));
spawn.setLocz(_zCoord);
spawn.setAmount(1);
spawn.setHeading(1);
spawn.setRespawnDelay(1);
BlockInstance blockInstance = (BlockInstance) spawn.doSpawn(true);
blockInstance.setRed((random % 2) == 0);
_spawns.add(spawn);
random++;
}
}
catch (Exception e)
{
e.printStackTrace();
}
if ((_round == 1) || (_round == 2))
{
NpcTemplate girl = NpcHolder.getInstance().getTemplate(18676);
try
{
final SimpleSpawner girlSpawn = new SimpleSpawner(girl);
girlSpawn.setLocx(_arenaCoordinates[_arena][4] + Rnd.get(-400, 400));
girlSpawn.setLocy(_arenaCoordinates[_arena][5] + Rnd.get(-400, 400));