mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Implemented Overwhelmed Apprentice
This commit is contained in:
parent
87e8b67b2e
commit
112b564bd1
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/o/OverwhelmedApprentice.java
Normal file
45
Mage.Sets/src/mage/cards/o/OverwhelmedApprentice.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveEachPlayerEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OverwhelmedApprentice extends CardImpl {
|
||||
|
||||
public OverwhelmedApprentice(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Overwhelmed Apprentice enters the battlefield, each opponent puts the top two cards of their library into their graveyard. Then you scry 2.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||
new PutTopCardOfLibraryIntoGraveEachPlayerEffect(2, TargetController.OPPONENT)
|
||||
);
|
||||
ability.addEffect(new ScryEffect(2).setText("Then you scry 2."));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private OverwhelmedApprentice(final OverwhelmedApprentice card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OverwhelmedApprentice copy() {
|
||||
return new OverwhelmedApprentice(this);
|
||||
}
|
||||
}
|
|
@ -148,6 +148,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Opt", 59, Rarity.COMMON, mage.cards.o.Opt.class));
|
||||
cards.add(new SetCardInfo("Order of Midnight", 99, Rarity.UNCOMMON, mage.cards.o.OrderOfMidnight.class));
|
||||
cards.add(new SetCardInfo("Outmuscle", 170, Rarity.COMMON, mage.cards.o.Outmuscle.class));
|
||||
cards.add(new SetCardInfo("Overwhelmed Apprentice", 60, Rarity.UNCOMMON, mage.cards.o.OverwhelmedApprentice.class));
|
||||
cards.add(new SetCardInfo("Piper of the Swarm", 100, Rarity.RARE, mage.cards.p.PiperOfTheSwarm.class));
|
||||
cards.add(new SetCardInfo("Questing Beast", 171, Rarity.MYTHIC, mage.cards.q.QuestingBeast.class));
|
||||
cards.add(new SetCardInfo("Raging Redcap", 134, Rarity.COMMON, mage.cards.r.RagingRedcap.class));
|
||||
|
|
Loading…
Reference in a new issue