mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
[ONE] Implement Prologue to Phyresis
This commit is contained in:
parent
0b0495c79f
commit
ad115a95a4
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/p/PrologueToPhyresis.java
Normal file
38
Mage.Sets/src/mage/cards/p/PrologueToPhyresis.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersPlayersEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PrologueToPhyresis extends CardImpl {
|
||||
|
||||
public PrologueToPhyresis(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
// Each opponent gets a poison counter.
|
||||
this.getSpellAbility().addEffect(new AddCountersPlayersEffect(
|
||||
CounterType.POISON.createInstance(), TargetController.OPPONENT
|
||||
));
|
||||
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private PrologueToPhyresis(final PrologueToPhyresis card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrologueToPhyresis copy() {
|
||||
return new PrologueToPhyresis(this);
|
||||
}
|
||||
}
|
|
@ -128,6 +128,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Planar Disruption", 28, Rarity.COMMON, mage.cards.p.PlanarDisruption.class));
|
||||
cards.add(new SetCardInfo("Plated Onslaught", 29, Rarity.UNCOMMON, mage.cards.p.PlatedOnslaught.class));
|
||||
cards.add(new SetCardInfo("Prologue to Phyresis", 65, Rarity.COMMON, mage.cards.p.PrologueToPhyresis.class));
|
||||
cards.add(new SetCardInfo("Prophetic Prism", 238, Rarity.COMMON, mage.cards.p.PropheticPrism.class));
|
||||
cards.add(new SetCardInfo("Prosthetic Injector", 239, Rarity.UNCOMMON, mage.cards.p.ProstheticInjector.class));
|
||||
cards.add(new SetCardInfo("Quicksilver Fisher", 66, Rarity.COMMON, mage.cards.q.QuicksilverFisher.class));
|
||||
|
|
Loading…
Reference in a new issue