Basic lands from drafts, except foils, do not get added to the player's inventory, to avoid generating an infinite lands through "add basic land". This both removes potential abuse by selling them, and eliminates the annoyance of having these lands wasting space in your inventory.

This commit is contained in:
Seravy
2018-03-04 23:53:27 +01:00
parent 83bae5ad74
commit 3ea30a4461

View File

@@ -198,7 +198,13 @@ public class QuestEventDraft implements IQuestEvent {
final Deck tournamentDeck = FModel.getQuest().getDraftDecks().get(QuestEventDraft.DECK_NAME).getHumanDeck();
final Deck deck = new Deck(deckName);
FModel.getQuest().getCards().addAllCards(tournamentDeck.getAllCardsInASinglePool().toFlatList());
// Add all cards except those added through "Add basic land" to quest inventory
List<PaperCard> cards = tournamentDeck.getAllCardsInASinglePool().toFlatList();
for (PaperCard c : cards) {
if ((!c.isVeryBasicLand()) || (c.isFoil())) {
FModel.getQuest().getCards().addSingleCard(c, 1);
}
}
if (tournamentDeck.get(DeckSection.Main).countAll() > 0) {
deck.getOrCreate(DeckSection.Main).addAll(tournamentDeck.get(DeckSection.Main));