mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Basic groundwork for extra decks (contraptions, attractions) (#10378)
* extra deck cards not counted in deck size * extra deck handling in deckbuilder * move responsibility for extraDeckCard boolean to CardImpl * remove redundant field copy
This commit is contained in:
parent
978ebfc873
commit
9ba0da00ff
29 changed files with 97 additions and 47 deletions
|
|
@ -584,6 +584,8 @@ public class VerifyCardDataTest {
|
|||
}
|
||||
|
||||
if ((deckCards.getCards().size() + deckCards.getSideboard().size()) < 10) {
|
||||
// note: does not check whether cards are extra deck cards (contraptions/attractions);
|
||||
// may succeed for decks with such cards when it should fail
|
||||
errorsList.add("Error: sample deck contains too little cards (" + deckCards.getSideboard().size() + ") " + deckName);
|
||||
totalErrorFiles++;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue