forked from External/mage
Fixed a bug that AI did not choose a creature card in her graveyard if opponent casts Exhume.
This commit is contained in:
parent
9e9256cd82
commit
2fce670024
9 changed files with 42 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
card = pickWorstCard(cards, null, target, source, game);
|
||||
}
|
||||
if (source != null) {
|
||||
if (target.canTarget(card.getId(), source, game)) {
|
||||
if (target.canTarget(card.getId(), this.getId(), source, game)) {
|
||||
return card;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue