mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Update jars. BugCantFindCardInLibrary now works.
This commit is contained in:
parent
0980ca5948
commit
4d9493a256
6 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -792,7 +792,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean choose(Outcome outcome, Choice choice, Game game) {
|
public boolean choose(Outcome outcome, Choice choice, Game game) {
|
||||||
log.debug("choose");
|
log.debug("choose 3");
|
||||||
//TODO: improve this
|
//TODO: improve this
|
||||||
choice.setChoice(choice.getChoices().iterator().next());
|
choice.setChoice(choice.getChoices().iterator().next());
|
||||||
return true;
|
return true;
|
||||||
|
@ -823,7 +823,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean choose(Outcome outcome, Cards cards, TargetCard target, Game game) {
|
public boolean choose(Outcome outcome, Cards cards, TargetCard target, Game game) {
|
||||||
log.debug("choose");
|
log.debug("choose 2");
|
||||||
if (cards != null && cards.isEmpty()) {
|
if (cards != null && cards.isEmpty()) {
|
||||||
if (!target.isRequired())
|
if (!target.isRequired())
|
||||||
return false;
|
return false;
|
||||||
|
|
Binary file not shown.
Binary file not shown.
BIN
Mage.Tests/plugins/mage-player-ai.jar
Normal file
BIN
Mage.Tests/plugins/mage-player-ai.jar
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue