fixed issue 242 - check all modes for targets

This commit is contained in:
BetaSteward 2011-09-05 22:02:50 -04:00
parent ac70150512
commit 6d4c3aa8d9
7 changed files with 26 additions and 6 deletions

View file

@ -63,7 +63,7 @@ public class EntomberExarch extends CardImpl<EntomberExarch> {
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// When Entomber Exarch enters the battlefield, choose one <EFBFBD> Return target creature card from your graveyard to your hand; or target opponent reveals his or her hand, you choose a noncreature card from it, then that player discards that card.
// When Entomber Exarch enters the battlefield, choose one - Return target creature card from your graveyard to your hand; or target opponent reveals his or her hand, you choose a noncreature card from it, then that player discards that card.
Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), false);
ability.addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard()));
Mode mode = new Mode();
@ -84,7 +84,7 @@ public class EntomberExarch extends CardImpl<EntomberExarch> {
}
class EntomberExarchEffect extends OneShotEffect<EntomberExarchEffect> {
private static final FilterCard filter = new FilterCard();
private static final FilterCard filter = new FilterCard("noncreature card");
static {
filter.getNotCardType().add(CardType.CREATURE);