mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Psychic Corrosion
This commit is contained in:
parent
592362a258
commit
85b6d8408a
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/p/PsychicCorrosion.java
Normal file
36
Mage.Sets/src/mage/cards/p/PsychicCorrosion.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue