From ff9ef1ec0f011d45391f9b13ff7e608c27bcaca2 Mon Sep 17 00:00:00 2001 From: fireshoes Date: Sun, 27 Mar 2016 10:53:14 -0500 Subject: [PATCH] [SOI] Fixed Ulvenwald Mysteries Clue filter. Fixed Markhov Dreadknight collector number. --- .../mage/sets/shadowsoverinnistrad/MarkovDreadknight.java | 2 +- .../mage/sets/shadowsoverinnistrad/UlvenwaldMysteries.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/shadowsoverinnistrad/MarkovDreadknight.java b/Mage.Sets/src/mage/sets/shadowsoverinnistrad/MarkovDreadknight.java index 574e07f705..e65610816f 100644 --- a/Mage.Sets/src/mage/sets/shadowsoverinnistrad/MarkovDreadknight.java +++ b/Mage.Sets/src/mage/sets/shadowsoverinnistrad/MarkovDreadknight.java @@ -48,7 +48,7 @@ import mage.counters.CounterType; public class MarkovDreadknight extends CardImpl { public MarkovDreadknight(UUID ownerId) { - super(ownerId, 998, "Markov Dreadknight", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{B}{B}"); + super(ownerId, 122, "Markov Dreadknight", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{3}{B}{B}"); this.expansionSetCode = "SOI"; this.subtype.add("Vampire"); this.subtype.add("Knight"); diff --git a/Mage.Sets/src/mage/sets/shadowsoverinnistrad/UlvenwaldMysteries.java b/Mage.Sets/src/mage/sets/shadowsoverinnistrad/UlvenwaldMysteries.java index 3ec39bc024..08a9eb83d4 100644 --- a/Mage.Sets/src/mage/sets/shadowsoverinnistrad/UlvenwaldMysteries.java +++ b/Mage.Sets/src/mage/sets/shadowsoverinnistrad/UlvenwaldMysteries.java @@ -36,8 +36,10 @@ import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.Rarity; import mage.constants.TargetController; +import mage.filter.common.FilterControlledPermanent; import mage.filter.common.FilterCreaturePermanent; import mage.filter.predicate.Predicates; +import mage.filter.predicate.mageobject.SubtypePredicate; import mage.filter.predicate.permanent.ControllerPredicate; import mage.filter.predicate.permanent.TokenPredicate; @@ -48,10 +50,12 @@ import mage.filter.predicate.permanent.TokenPredicate; public class UlvenwaldMysteries extends CardImpl { private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("nontoken creature you control"); + private static final FilterControlledPermanent filterClue = new FilterControlledPermanent("a Clue"); static { filter.add(new ControllerPredicate(TargetController.YOU)); filter.add(Predicates.not(new TokenPredicate())); + filterClue.add(new SubtypePredicate("Clue")); } public UlvenwaldMysteries(UUID ownerId) { @@ -62,7 +66,7 @@ public class UlvenwaldMysteries extends CardImpl { this.addAbility(new DiesCreatureTriggeredAbility(new InvestigateEffect(), false, filter)); // Whenever you sacrifice a Clue, put a 1/1 white Human Soldier creature token onto the battlefield. - this.addAbility(new SacrificeAllTriggeredAbility(new CreateTokenEffect(new HumanSoldierToken()), new FilterCreaturePermanent("Clue", "a Clue"), TargetController.YOU, false)); + this.addAbility(new SacrificeAllTriggeredAbility(new CreateTokenEffect(new HumanSoldierToken()), filterClue, TargetController.YOU, false)); } public UlvenwaldMysteries(final UlvenwaldMysteries card) {