mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[WOE] Implement Questing Druid
This commit is contained in:
parent
cd7a896297
commit
c9ef1c1d56
2 changed files with 65 additions and 0 deletions
64
Mage.Sets/src/mage/cards/q/QuestingDruid.java
Normal file
64
Mage.Sets/src/mage/cards/q/QuestingDruid.java
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
package mage.cards.q;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEndOfTurnEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.cards.AdventureCard;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.ColorPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class QuestingDruid extends AdventureCard {
|
||||
|
||||
private static final FilterSpell filter = new FilterSpell("a spell that's white, blue, black, or red");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
new ColorPredicate(ObjectColor.WHITE),
|
||||
new ColorPredicate(ObjectColor.BLUE),
|
||||
new ColorPredicate(ObjectColor.BLACK),
|
||||
new ColorPredicate(ObjectColor.RED)
|
||||
));
|
||||
}
|
||||
|
||||
public QuestingDruid(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{1}{G}", "Seek the Beast", "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.DRUID);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Whenever you cast a spell that's white, blue, black, or red, put a +1/+1 counter on Questing Druid.
|
||||
this.addAbility(new SpellCastControllerTriggeredAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), filter, false
|
||||
));
|
||||
|
||||
// Seek the Beast
|
||||
// Exile the top two cards of your library. Until your next end step, you may play those cards.
|
||||
this.getSpellCard().getSpellAbility().addEffect(
|
||||
new ExileTopXMayPlayUntilEndOfTurnEffect(2, false, Duration.UntilYourNextEndStep)
|
||||
);
|
||||
}
|
||||
|
||||
private QuestingDruid(final QuestingDruid card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuestingDruid copy() {
|
||||
return new QuestingDruid(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -114,6 +114,7 @@ public final class WildsOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Picnic Ruiner", 232, Rarity.UNCOMMON, mage.cards.p.PicnicRuiner.class));
|
||||
cards.add(new SetCardInfo("Plains", 262, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Prophetic Prism", 249, Rarity.COMMON, mage.cards.p.PropheticPrism.class));
|
||||
cards.add(new SetCardInfo("Questing Druid", 234, Rarity.RARE, mage.cards.q.QuestingDruid.class));
|
||||
cards.add(new SetCardInfo("Raging Battle Mouse", 143, Rarity.RARE, mage.cards.r.RagingBattleMouse.class));
|
||||
cards.add(new SetCardInfo("Rankle's Prank", 102, Rarity.RARE, mage.cards.r.RanklesPrank.class));
|
||||
cards.add(new SetCardInfo("Rat Out", 103, Rarity.COMMON, mage.cards.r.RatOut.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue