mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
[DSK] Implement Enter the Enigma
This commit is contained in:
parent
b95d7d202d
commit
dfa44c39aa
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/e/EnterTheEnigma.java
Normal file
36
Mage.Sets/src/mage/cards/e/EnterTheEnigma.java
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.combat.CantBeBlockedTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EnterTheEnigma extends CardImpl {
|
||||
|
||||
public EnterTheEnigma(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{U}");
|
||||
|
||||
// Target creature can't be blocked this turn.
|
||||
this.getSpellAbility().addEffect(new CantBeBlockedTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Draw a card.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private EnterTheEnigma(final EnterTheEnigma card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnterTheEnigma copy() {
|
||||
return new EnterTheEnigma(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -60,6 +60,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Enduring Innocence", 6, Rarity.RARE, mage.cards.e.EnduringInnocence.class));
|
||||
cards.add(new SetCardInfo("Enduring Tenacity", 95, Rarity.RARE, mage.cards.e.EnduringTenacity.class));
|
||||
cards.add(new SetCardInfo("Enduring Vitality", 176, Rarity.RARE, mage.cards.e.EnduringVitality.class));
|
||||
cards.add(new SetCardInfo("Enter the Enigma", 52, Rarity.COMMON, mage.cards.e.EnterTheEnigma.class));
|
||||
cards.add(new SetCardInfo("Etched Cornfield", 258, Rarity.COMMON, mage.cards.e.EtchedCornfield.class));
|
||||
cards.add(new SetCardInfo("Ethereal Armor", 7, Rarity.UNCOMMON, mage.cards.e.EtherealArmor.class));
|
||||
cards.add(new SetCardInfo("Fanatic of the Harrowing", 96, Rarity.COMMON, mage.cards.f.FanaticOfTheHarrowing.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue