forked from External/mage
53 lines
1.7 KiB
Java
53 lines
1.7 KiB
Java
package mage.cards.o;
|
|
|
|
import mage.MageInt;
|
|
import mage.abilities.common.SimpleStaticAbility;
|
|
import mage.abilities.effects.common.continuous.PlayAdditionalLandsControllerEffect;
|
|
import mage.abilities.effects.common.continuous.PlayTheTopCardEffect;
|
|
import mage.abilities.effects.common.continuous.PlayWithTheTopCardRevealedEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.Duration;
|
|
import mage.constants.SubType;
|
|
import mage.filter.FilterCard;
|
|
import mage.filter.common.FilterLandCard;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author nantuko, BetaSteward_at_googlemail.com
|
|
*/
|
|
public final class OracleOfMulDaya extends CardImpl {
|
|
|
|
private static final FilterCard filter = new FilterLandCard("play lands");
|
|
|
|
public OracleOfMulDaya(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
|
|
this.subtype.add(SubType.ELF);
|
|
this.subtype.add(SubType.SHAMAN);
|
|
|
|
this.power = new MageInt(2);
|
|
this.toughness = new MageInt(2);
|
|
|
|
// You may play an additional land on each of your turns.
|
|
this.addAbility(new SimpleStaticAbility(
|
|
new PlayAdditionalLandsControllerEffect(1, Duration.WhileOnBattlefield)
|
|
));
|
|
|
|
// Play with the top card of your library revealed.
|
|
this.addAbility(new SimpleStaticAbility(new PlayWithTheTopCardRevealedEffect()));
|
|
|
|
// You may play lands from the top of your library.
|
|
this.addAbility(new SimpleStaticAbility(new PlayTheTopCardEffect(filter, false)));
|
|
}
|
|
|
|
private OracleOfMulDaya(final OracleOfMulDaya card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public OracleOfMulDaya copy() {
|
|
return new OracleOfMulDaya(this);
|
|
}
|
|
}
|