foul-magics/Mage.Sets/src/mage/cards/s/SolemnSimulacrum.java
2018-06-02 17:59:49 +02:00

40 lines
1.3 KiB
Java

package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.DiesTriggeredAbility;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.target.common.TargetCardInLibrary;
import java.util.UUID;
/**
*
* @author Loki
*/
public final class SolemnSimulacrum extends CardImpl {
public SolemnSimulacrum(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{4}");
this.subtype.add(SubType.GOLEM);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND), true), true));
this.addAbility(new DiesTriggeredAbility(new DrawCardSourceControllerEffect(1), true));
}
public SolemnSimulacrum(final SolemnSimulacrum card) {
super(card);
}
@Override
public SolemnSimulacrum copy() {
return new SolemnSimulacrum(this);
}
}