* Scrapheap Scrounger - Fixed that the exile cost was not mandatory.

This commit is contained in:
LevelX2 2017-01-28 12:10:38 +01:00
parent d3dd52a900
commit e9d46db772
2 changed files with 6 additions and 5 deletions

View file

@ -51,12 +51,13 @@ import mage.target.common.TargetCardInYourGraveyard;
public class ScrapheapScrounger extends CardImpl {
private static final FilterCard filter = new FilterCreatureCard("another creature card");
static {
filter.add(new AnotherCardPredicate());
}
public ScrapheapScrounger(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{2}");
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
this.subtype.add("Construct");
this.power = new MageInt(3);
this.toughness = new MageInt(2);

View file

@ -95,11 +95,11 @@ public class ExileFromGraveCost extends CostImpl {
}
exiledCards.add(card);
}
Cards cardsToExile = new CardsImpl();
cardsToExile.addAll(exiledCards);
controller.moveCards(cardsToExile, Zone.EXILED, ability, game);
paid = true;
}
Cards cardsToExile = new CardsImpl();
cardsToExile.addAll(exiledCards);
controller.moveCards(cardsToExile, Zone.EXILED, ability, game);
paid = true;
}
return paid;