mirror of
https://github.com/correl/mage.git
synced 2025-01-11 11:05:23 +00:00
TestPlayer should not scry down cards at the start of the game.
This commit is contained in:
parent
42dc714883
commit
0af7871804
1 changed files with 4 additions and 0 deletions
|
@ -2118,6 +2118,10 @@ public class TestPlayer implements Player {
|
|||
|
||||
@Override
|
||||
public boolean scry(int value, Ability source, Game game) {
|
||||
// Don't scry at the start of the game.
|
||||
if (game.getTurnNum() == 1 && game.getStep() == null) {
|
||||
return false;
|
||||
}
|
||||
return computerPlayer.scry(value, source, game);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue