|
| 1 | +package mage.cards.s; |
| 2 | + |
| 3 | +import java.util.UUID; |
| 4 | +import mage.MageInt; |
| 5 | +import mage.abilities.Ability; |
| 6 | +import mage.abilities.common.ActivateAsSorceryActivatedAbility; |
| 7 | +import mage.abilities.costs.common.ExileSourceFromGraveCost; |
| 8 | +import mage.abilities.costs.mana.ManaCostsImpl; |
| 9 | +import mage.abilities.effects.common.GainLifeEffect; |
| 10 | +import mage.abilities.effects.keyword.SurveilEffect; |
| 11 | +import mage.constants.SubType; |
| 12 | +import mage.constants.Zone; |
| 13 | +import mage.cards.CardImpl; |
| 14 | +import mage.cards.CardSetInfo; |
| 15 | +import mage.constants.CardType; |
| 16 | + |
| 17 | +/** |
| 18 | + * |
| 19 | + * @author muz |
| 20 | + */ |
| 21 | +public final class StoneDocent extends CardImpl { |
| 22 | + |
| 23 | + public StoneDocent(UUID ownerId, CardSetInfo setInfo) { |
| 24 | + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); |
| 25 | + |
| 26 | + this.subtype.add(SubType.SPIRIT); |
| 27 | + this.subtype.add(SubType.CHIMERA); |
| 28 | + this.power = new MageInt(3); |
| 29 | + this.toughness = new MageInt(1); |
| 30 | + |
| 31 | + // {W}, Exile this card from your graveyard: You gain 2 life. Surveil 1. Activate only as a sorcery. |
| 32 | + Ability ability = new ActivateAsSorceryActivatedAbility(Zone.GRAVEYARD, new GainLifeEffect(2), new ManaCostsImpl<>("{W}")); |
| 33 | + ability.addCost(new ExileSourceFromGraveCost()); |
| 34 | + ability.addEffect(new SurveilEffect(1)); |
| 35 | + this.addAbility(ability); |
| 36 | + } |
| 37 | + |
| 38 | + private StoneDocent(final StoneDocent card) { |
| 39 | + super(card); |
| 40 | + } |
| 41 | + |
| 42 | + @Override |
| 43 | + public StoneDocent copy() { |
| 44 | + return new StoneDocent(this); |
| 45 | + } |
| 46 | +} |
0 commit comments