public static void doSacrifice(GameState state, Sacrifice sacrifice) {
		logger.info("Sacrificing scroll: " + sacrifice.getScroll() + "(" + sacrifice.getType() + ")");
		
		clickScroll(state, sacrifice.getScroll());
		wait(1000);
		
		int x = handXCoordinatesByHandSize.get(state.getHand().size()).get(state.getHand().indexOf(sacrifice.getScroll()));
		
		switch(sacrifice.getType()) {
			case DRAW:
				click(state, x + DRAW_OFFSET_X, SACRIFICE_Y);
				break;
			case RAMP:
				click(state, x + RESOURCE_OFFSET_X, SACRIFICE_Y);
				logger.info("Sacrificed for resourcees. Mana is now at " + state.getMaxMana());
				break;
			case SKIP:
				return;
			default:
				throw new ImpossibleException("Invalid sacrifice type.");
				
		}
		wait(200);
	}