mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Ichorid - Fixed that the effect could not be canceled if other black creature was in the graveyard.
This commit is contained in:
parent
8413be3b55
commit
faed336306
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ public class Ichorid extends CardImpl {
|
||||||
FilterCard filter = new FilterCreatureCard("an other black creature card from your graveyard");
|
FilterCard filter = new FilterCreatureCard("an other black creature card from your graveyard");
|
||||||
filter.add(Predicates.not(new CardIdPredicate(this.getId())));
|
filter.add(Predicates.not(new CardIdPredicate(this.getId())));
|
||||||
filter.add(new ColorPredicate(ObjectColor.BLACK));
|
filter.add(new ColorPredicate(ObjectColor.BLACK));
|
||||||
ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(filter)));
|
TargetCardInYourGraveyard target = new TargetCardInYourGraveyard(filter);
|
||||||
|
target.setRequired(false);
|
||||||
|
ability.addCost(new ExileFromGraveCost(target));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue