mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
New testing frameworks for cards. BurntheImpure test.
This commit is contained in:
parent
196f7a32d8
commit
99735b368b
25 changed files with 1297 additions and 119 deletions
|
|
@ -126,7 +126,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
@Override
|
||||
public boolean chooseMulligan(Game game) {
|
||||
logger.debug("chooseMulligan");
|
||||
if (hand.size() < 6)
|
||||
if (hand.size() < 6 || isTestMode())
|
||||
return false;
|
||||
Set<Card> lands = hand.getCards(new FilterLandCard(), game);
|
||||
if (lands.size() < 2 || lands.size() > hand.size() - 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue