Esempio n. 1
0
  public BackwoodsSurvivalists(UUID ownerId) {
    super(
        ownerId,
        150,
        "Backwoods Survivalists",
        Rarity.COMMON,
        new CardType[] {CardType.CREATURE},
        "{3}{G}");
    this.expansionSetCode = "EMN";
    this.subtype.add("Human");
    this.subtype.add("Warrior");
    this.power = new MageInt(4);
    this.toughness = new MageInt(3);

    // <i>Delirium</i> &mdash; Backwoods Survivalists gets +1/+1 and has trample as long as there
    // are four or more card types among cards in your graveyard.
    ConditionalContinuousEffect effect =
        new ConditionalContinuousEffect(
            new BoostSourceEffect(1, 1, Duration.WhileOnBattlefield),
            DeliriumCondition.getInstance(),
            "<i>Delirium</i> &mdash; {this} gets +1/+1");
    Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
    ability.addEffect(
        new ConditionalContinuousEffect(
            new GainAbilitySourceEffect(TrampleAbility.getInstance()),
            DeliriumCondition.getInstance(),
            "and has trample as long as there are four or more card types among cards in your graveyard."));
    this.addAbility(ability);
  }
Esempio n. 2
0
  public ManicScribe(UUID ownerId) {
    super(
        ownerId, 73, "Manic Scribe", Rarity.UNCOMMON, new CardType[] {CardType.CREATURE}, "{1}{U}");
    this.expansionSetCode = "SOI";
    this.subtype.add("Human");
    this.subtype.add("Wizard");
    this.power = new MageInt(0);
    this.toughness = new MageInt(3);

    // When Manic Scribe enters the battlefield, each opponent puts the top three cards of his or
    // her library into his or her graveyard.
    this.addAbility(
        new EntersBattlefieldTriggeredAbility(
            new PutTopCardOfLibraryIntoGraveEachPlayerEffect(3, TargetController.OPPONENT), false));

    // <i>Delirium</i> &mdash; At the beginning of each opponent's upkeep, if there are four or more
    // card types among cards in your graveyard,
    // that player puts the top three cards of his or her library into his or her graveyard.
    this.addAbility(
        new ConditionalTriggeredAbility(
            new BeginningOfUpkeepTriggeredAbility(
                Zone.BATTLEFIELD,
                new PutTopCardOfLibraryIntoGraveTargetEffect(3),
                TargetController.OPPONENT,
                false,
                true),
            DeliriumCondition.getInstance(),
            "<i>Delirium</i> &mdash; At the beginning of each opponent's upkeep, if there are four or more card types among cards in your graveyard, "
                + "that player puts the top three cards of his or her library into his or her graveyard."));
  }
Esempio n. 3
0
  public MoldgrafScavenger(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{1}{G}");
    this.subtype.add("Fungus");
    this.power = new MageInt(0);
    this.toughness = new MageInt(4);

    // <i>Delirium</i> &mdash; Moldgraf Scavenger gets +3/+0 as long as there are four or more card
    // types among cards in your graveyard.
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new ConditionalContinuousEffect(
                new BoostSourceEffect(3, 0, Duration.WhileOnBattlefield),
                DeliriumCondition.getInstance(),
                "<i>Delirium</i> &mdash; {this} gets +3/+0 as long as there are four or more card types among cards in your graveyard")));
  }