mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
fixed issue 242 - check all modes for targets
This commit is contained in:
parent
ac70150512
commit
6d4c3aa8d9
7 changed files with 26 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue