mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fix Munda, Ambush Leader being able to reveal non-Ally cards.
This commit is contained in:
parent
7479ae7644
commit
bff06e3e0e
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ public class MundaAmbushLeader extends CardImpl {
|
||||||
|
|
||||||
class MundaAmbushLeaderEffect extends OneShotEffect {
|
class MundaAmbushLeaderEffect extends OneShotEffect {
|
||||||
|
|
||||||
private static final FilterCard filter = new FilterCard("Ally cards to reveal and put on top of your libraray");
|
private static final FilterCard filter = new FilterCard("Ally cards to reveal and put on top of your library");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new SubtypePredicate("Ally"));
|
filter.add(new SubtypePredicate("Ally"));
|
||||||
|
@ -111,7 +111,7 @@ class MundaAmbushLeaderEffect extends OneShotEffect {
|
||||||
controller.lookAtCards(sourceObject.getIdName(), allCards, game);
|
controller.lookAtCards(sourceObject.getIdName(), allCards, game);
|
||||||
if (!allCards.isEmpty()) {
|
if (!allCards.isEmpty()) {
|
||||||
Cards cardsToReveal = new CardsImpl();
|
Cards cardsToReveal = new CardsImpl();
|
||||||
TargetCard target = new TargetCard(0, Integer.MAX_VALUE, Zone.LIBRARY, new FilterCard("Ally cards to put on top of your libraray"));
|
TargetCard target = new TargetCard(0, Integer.MAX_VALUE, Zone.LIBRARY, filter);
|
||||||
controller.chooseTarget(outcome, allCards, target, source, game);
|
controller.chooseTarget(outcome, allCards, target, source, game);
|
||||||
cardsToReveal.addAll(target.getTargets());
|
cardsToReveal.addAll(target.getTargets());
|
||||||
if (!cardsToReveal.isEmpty()) {
|
if (!cardsToReveal.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue