forked from External/mage
Did not test the final code for Stone of Erech, when a filter was added to the ReplacementEffect :( Added an unit test, just to be safer this time around.
This commit is contained in:
parent
47456bf9c4
commit
652358a481
2 changed files with 23 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ public class CreaturesAreExiledOnDeathReplacementEffect extends ReplacementEffec
|
|||
public CreaturesAreExiledOnDeathReplacementEffect(FilterPermanent filter) {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Exile);
|
||||
staticText = "If " + CardUtil.addArticle(filter.getMessage()) + " would die, exile it instead";
|
||||
this.filter = filter;
|
||||
}
|
||||
|
||||
private CreaturesAreExiledOnDeathReplacementEffect(final CreaturesAreExiledOnDeathReplacementEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue