mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Scrapheap Scrounger - Fixed that the exile cost was not mandatory.
This commit is contained in:
parent
d3dd52a900
commit
e9d46db772
2 changed files with 6 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue