forked from External/mage
[MID] Implemented Celestus Sanctifier
This commit is contained in:
parent
91bfef8680
commit
7c62d9ef4f
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/c/CelestusSanctifier.java
Normal file
48
Mage.Sets/src/mage/cards/c/CelestusSanctifier.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BecomeDayAsEntersAbility;
|
||||
import mage.abilities.common.BecomesDayOrNightTriggeredAbility;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CelestusSanctifier extends CardImpl {
|
||||
|
||||
public CelestusSanctifier(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.CLERIC);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// If it's neither day nor night, it becomes day as Celestus Sanctifier enters the battlefield.
|
||||
this.addAbility(new BecomeDayAsEntersAbility());
|
||||
|
||||
// Whenever day becomes night or night becomes day, look at the top two cards of your library. Put one of them into your graveyard.
|
||||
this.addAbility(new BecomesDayOrNightTriggeredAbility(new LookLibraryAndPickControllerEffect(
|
||||
StaticValue.get(2), false, StaticValue.get(1), StaticFilters.FILTER_CARD,
|
||||
Zone.LIBRARY, true, false, false, Zone.GRAVEYARD, false
|
||||
).setText("look at the top two cards of your library. Put one of them into your graveyard")));
|
||||
}
|
||||
|
||||
private CelestusSanctifier(final CelestusSanctifier card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CelestusSanctifier copy() {
|
||||
return new CelestusSanctifier(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -39,6 +39,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Can't Stay Away", 368, Rarity.RARE, mage.cards.c.CantStayAway.class));
|
||||
cards.add(new SetCardInfo("Candlegrove Witch", 8, Rarity.COMMON, mage.cards.c.CandlegroveWitch.class));
|
||||
cards.add(new SetCardInfo("Candlelit Cavalry", 175, Rarity.COMMON, mage.cards.c.CandlelitCavalry.class));
|
||||
cards.add(new SetCardInfo("Celestus Sanctifier", 12, Rarity.COMMON, mage.cards.c.CelestusSanctifier.class));
|
||||
cards.add(new SetCardInfo("Champion of the Perished", 91, Rarity.RARE, mage.cards.c.ChampionOfThePerished.class));
|
||||
cards.add(new SetCardInfo("Clear Shot", 176, Rarity.UNCOMMON, mage.cards.c.ClearShot.class));
|
||||
cards.add(new SetCardInfo("Consider", 44, Rarity.COMMON, mage.cards.c.Consider.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue