mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
[DSK] Implement Emerge from the Cocoon
This commit is contained in:
parent
54637c778f
commit
dbbe48a3c5
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/e/EmergeFromTheCocoon.java
Normal file
35
Mage.Sets/src/mage/cards/e/EmergeFromTheCocoon.java
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EmergeFromTheCocoon extends CardImpl {
|
||||
|
||||
public EmergeFromTheCocoon(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{W}");
|
||||
|
||||
// Return target creature card from your graveyard to the battlefield. You gain 3 life.
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD_CREATURE_YOUR_GRAVEYARD));
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(3));
|
||||
}
|
||||
|
||||
private EmergeFromTheCocoon(final EmergeFromTheCocoon card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EmergeFromTheCocoon copy() {
|
||||
return new EmergeFromTheCocoon(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -41,6 +41,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Disturbing Mirth", 212, Rarity.UNCOMMON, mage.cards.d.DisturbingMirth.class));
|
||||
cards.add(new SetCardInfo("Doomsday Excruciator", 94, Rarity.RARE, mage.cards.d.DoomsdayExcruciator.class));
|
||||
cards.add(new SetCardInfo("Drag to the Roots", 213, Rarity.UNCOMMON, mage.cards.d.DragToTheRoots.class));
|
||||
cards.add(new SetCardInfo("Emerge from the Cocoon", 5, Rarity.COMMON, mage.cards.e.EmergeFromTheCocoon.class));
|
||||
cards.add(new SetCardInfo("Enduring Curiosity", 51, Rarity.RARE, mage.cards.e.EnduringCuriosity.class));
|
||||
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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue