* Some minor fixes/code cleanups to IKO cards.

This commit is contained in:
LevelX2 2020-05-25 16:51:23 +02:00
parent abda99e203
commit 5743e4361e
9 changed files with 22 additions and 13 deletions

View file

@ -36,7 +36,9 @@ public class ExileFromGraveCost extends CostImpl {
+ CardUtil.numberToText(target.getMaxNumberOfTargets()))
+ ' ' + target.getTargetName();
} else {
this.text = "Exile " + target.getTargetName();
this.text = "Exile "
+ (target.getTargetName().startsWith("card ") ? "a ":"")
+ target.getTargetName();
}
if (!this.text.endsWith(" from your graveyard")) {
this.text = this.text + " from your graveyard";

View file

@ -89,6 +89,12 @@ public final class StaticFilters {
FILTER_CARD_CREATURE_A.setLockedFilter(true);
}
public static final FilterCreatureCard FILTER_CARD_CREATURE_YOUR_HAND = new FilterCreatureCard("a creature card from your hand");
static {
FILTER_CARD_CREATURE_YOUR_HAND.setLockedFilter(true);
}
public static final FilterCreatureCard FILTER_CARD_CREATURE_YOUR_GRAVEYARD = new FilterCreatureCard("creature card from your graveyard");
static {