}
private void runTheSanctum(World world)
{
Room room = new Room();
Reflection r = ReflectionTable.getInstance().get(world.instanceId);
switch(world.status)
{
case 0:
room.center = new Location(-89240, 217928, -7517, 0);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27372, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset, world.instanceId), false);
world.rooms.add(room);
break;
case 1:
room.center = new Location(-88600, 220264, -7517, 0);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27372, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset, world.instanceId), false);
r.openDoor(17240102);
world.rooms.add(room);
break;
case 2:
room.center = new Location(-87032, 220632, -7517, 0);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27372, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27372, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset, world.instanceId), false);
r.openDoor(17240104);
world.rooms.add(room);
break;
case 3:
room.center = new Location(-85352, 219224, -7517, 0);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27372, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27375, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27377, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27378, room.center, roomSpawnOffset, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27379, room.center, roomSpawnOffset, world.instanceId), false);
r.openDoor(17240106);
world.rooms.add(room);
break;
case 4:
room.center = new Location(-87448, 217608, -7517, 0);
room.npclist.put(addSpawnToInstance(27371, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27372, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27373, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27374, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27375, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27375, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27377, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27377, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27378, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27378, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27379, room.center, roomSpawnOffset2, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27379, room.center, roomSpawnOffset2, world.instanceId), false);
r.openDoor(17240108);
world.rooms.add(room);
break;
case 5:
room.npclist.put(addSpawnToInstance(27384, new Location(-83177, 216137, -7517, 0), 0, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27384, new Location(-83177, 217353, -7517, 0), 0, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27384, new Location(-82588, 216754, -7517, 0), 0, world.instanceId), false);
room.npclist.put(addSpawnToInstance(27384, new Location(-83804, 216754, -7517, 0), 0, world.instanceId), false);
world.rooms.add(room);
r.openDoor(17240110);
break;
}
}