public static void useLands(Deck d, double r){
	if(!d.repeated){
	    System.out.println("Uselands does not support decks without repetition");
	    return;
	}
	int cards = 0;
	int lands = 0;
	int uniqueBasics = 0;
	for(int i=0; i<d.cards.size(); i++){
	    cards += d.quantity.get(i);
	    String s = d.cards.get(i);
	    if(CardsInfo.has(s, "Basic")){
		uniqueBasics++;
		lands += d.quantity.get(i);
	    }
	}
	if(uniqueBasics != 0){
	    int add = (int) (((cards*r) - lands)/uniqueBasics);
	    for(int i = 0; i<d.cards.size(); i++){
		if(CardsInfo.has(d.cards.get(i), "Basic"))
		    d.quantity.set(i, d.quantity.get(i)+add);
	    }
	}else{
	    int add = (int) ((cards*r) - lands);
	    d.cards.add("Forest");
	    d.quantity.add(add);
	}
    }