DeckFormat: A deck can have any number of cards named CARDNAME.

This commit is contained in:
Hans Mackowiak
2019-01-12 16:13:00 +00:00
committed by Michael Kamensky
parent af3c645521
commit 0606a00942
8 changed files with 34 additions and 26 deletions

View File

@@ -358,7 +358,7 @@ public class QuestSpellShop {
}
//If this card has an exception to the card limit, e.g.: Relentless Rats, get the quest preference
if (DeckFormat.getLimitExceptions().contains(card.getName())) {
if (DeckFormat.canHaveAnyNumberOf(card)) {
numToKeep = FModel.getQuestPreferences().getPrefInt(QPref.PLAYSET_ANY_NUMBER_SIZE);
}