Implemented Psychic Corrosion

This commit is contained in:
Evan Kranzler 2018-06-21 23:06:50 -04:00
parent 592362a258
commit 85b6d8408a
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
package mage.cards.p;
import java.util.UUID;
import mage.abilities.common.DrawCardControllerTriggeredAbility;
import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveEachPlayerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TargetController;
/**
*
* @author TheElk801
*/
public final class PsychicCorrosion extends CardImpl {
public PsychicCorrosion(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{U}");
// Whenever you draw a card, each opponent puts the top two cards of their library into their graveyard.
this.addAbility(new DrawCardControllerTriggeredAbility(
new PutTopCardOfLibraryIntoGraveEachPlayerEffect(
2, TargetController.OPPONENT
), false
));
}
public PsychicCorrosion(final PsychicCorrosion card) {
super(card);
}
@Override
public PsychicCorrosion copy() {
return new PsychicCorrosion(this);
}
}

View file

@ -182,6 +182,7 @@ public final class CoreSet2019 extends ExpansionSet {
cards.add(new SetCardInfo("Plummet", 193, Rarity.COMMON, mage.cards.p.Plummet.class)); cards.add(new SetCardInfo("Plummet", 193, Rarity.COMMON, mage.cards.p.Plummet.class));
cards.add(new SetCardInfo("Poison-Tip Archer", 220, Rarity.UNCOMMON, mage.cards.p.PoisonTipArcher.class)); cards.add(new SetCardInfo("Poison-Tip Archer", 220, Rarity.UNCOMMON, mage.cards.p.PoisonTipArcher.class));
cards.add(new SetCardInfo("Prodigious Growth", 194, Rarity.RARE, mage.cards.p.ProdigiousGrowth.class)); cards.add(new SetCardInfo("Prodigious Growth", 194, Rarity.RARE, mage.cards.p.ProdigiousGrowth.class));
cards.add(new SetCardInfo("Psychic Corrosion", 68, Rarity.UNCOMMON, mage.cards.p.PsychicCorrosion.class));
cards.add(new SetCardInfo("Psychic Symbiont", 221, Rarity.UNCOMMON, mage.cards.p.PsychicSymbiont.class)); cards.add(new SetCardInfo("Psychic Symbiont", 221, Rarity.UNCOMMON, mage.cards.p.PsychicSymbiont.class));
cards.add(new SetCardInfo("Rabid Bite", 195, Rarity.COMMON, mage.cards.r.RabidBite.class)); cards.add(new SetCardInfo("Rabid Bite", 195, Rarity.COMMON, mage.cards.r.RabidBite.class));
cards.add(new SetCardInfo("Radiating Lightning", 313, Rarity.COMMON, mage.cards.r.RadiatingLightning.class)); cards.add(new SetCardInfo("Radiating Lightning", 313, Rarity.COMMON, mage.cards.r.RadiatingLightning.class));