forked from External/mage
* Faerie Imposter - Fixed AI didn't handle target (TargetPermanent) correctly (fixes #360).
This commit is contained in:
parent
517d046efe
commit
ba27dbf36e
2 changed files with 4 additions and 4 deletions
|
|
@ -216,6 +216,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (target instanceof TargetCardInHand) {
|
||||
List<Card> cards = new ArrayList<Card>();
|
||||
|
|
@ -261,6 +262,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (target instanceof TargetPermanentOrPlayer) {
|
||||
List<Permanent> targets;
|
||||
TargetPermanentOrPlayer t = ((TargetPermanentOrPlayer) target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue