* Aminatous Augury - Fixed a problem that the cards could not be cast from exile. Added logic so the player could select the card types to consume for the cast from exile.

This commit is contained in:
LevelX2 2019-12-29 16:22:52 +01:00
parent 8710bb5ca2
commit 2508de1f82
3 changed files with 64 additions and 29 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.effects.common.search;
import java.util.List;
@ -87,7 +86,9 @@ public class SearchLibraryPutInPlayEffect extends SearchEffect {
}
sb.append(target.getTargetName()).append(" and put them onto the battlefield");
} else {
sb.append("a ").append(target.getTargetName()).append(" and put it onto the battlefield");
sb.append(target.getTargetName().startsWith("a ") || target.getTargetName().startsWith("an ") ? "" : sb.append("a "))
.append(target.getTargetName())
.append(" and put it onto the battlefield");
}
if (tapped) {
sb.append(" tapped");