mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[SOI] Fixed Ulvenwald Mysteries Clue filter. Fixed Markhov Dreadknight collector number.
This commit is contained in:
parent
3f2618c4a0
commit
ff9ef1ec0f
2 changed files with 6 additions and 2 deletions
|
@ -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");
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue