Examples of PutLibraryIntoGraveTargetEffect


Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

  public TomeScour(UUID ownerId) {
    super(ownerId, 76, "Tome Scour", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{U}");
    this.expansionSetCode = "M10";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetPlayer());
    this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(5));
  }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

}

class JacesErasureAbility extends TriggeredAbilityImpl<JacesErasureAbility> {

  public JacesErasureAbility() {
    super(Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(1), true);
    this.addTarget(new TargetPlayer());
  }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

    LoyaltyAbility ability1 = new LoyaltyAbility(new DrawCardTargetEffect(1), -1);
    ability1.addTarget(new TargetPlayer());
    this.addAbility(ability1);

    LoyaltyAbility ability2 = new LoyaltyAbility(new PutLibraryIntoGraveTargetEffect(20), -10);
    ability2.addTarget(new TargetPlayer());
    this.addAbility(ability2);

  }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

  public ArchiveTrap(UUID ownerId) {
    super(ownerId, 41, "Archive Trap", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{3}{U}{U}");
    this.expansionSetCode = "ZEN";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetOpponent());
    this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(13));
    this.getSpellAbility().addAlternativeCost(new ArchiveTrapAlternativeCost());
    this.watchers.add(new ArchiveTrapWatcher(ownerId));
  }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

        this.color.setBlue(true);
        this.power = new MageInt(0);
        this.toughness = new MageInt(2);
        // Landfall - Whenever a land enters the battlefield under your control, target player puts the top three cards of his or her library into his or her graveyard.
        LandfallAbility ability = new LandfallAbility(new PutLibraryIntoGraveTargetEffect(3), false);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

        this.subtype.add("Trap");
        this.color.setBlue(true);

        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(13));
        this.getSpellAbility().addAlternativeCost(new ArchiveTrapAlternativeCost());
        this.addWatcher(new ArchiveTrapWatcher());
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

        // Soulbond
        this.addAbility(SoulbondAbility.getInstance());

        // As long as Stern Mentor is paired with another creature, each of those creatures has "{t}: Target player puts the top two cards of his or her library into his or her graveyard."
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(2), new TapSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityPairedEffect(ability, ruleText)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(4)), false));

        // +1: Draw a card. Target player puts the top card of his or her library into his or her graveyard.
        LoyaltyAbility ability1 = new LoyaltyAbility(new DrawCardSourceControllerEffect(1), 1);
        ability1.addEffect(new PutLibraryIntoGraveTargetEffect(1));
        ability1.addTarget(new TargetPlayer());
        this.addAbility(ability1);

        // 0: Target player puts the top ten cards of his or her library into his or her graveyard.
        LoyaltyAbility ability2 = new LoyaltyAbility(new PutLibraryIntoGraveTargetEffect(10), 0);
        ability2.addTarget(new TargetPlayer());
        this.addAbility(ability2);

        // -7: Any number of target players each draw twenty cards.
        LoyaltyAbility ability3 = new LoyaltyAbility(new JaceMemoryAdeptEffect(20), -7);
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

        this.subtype.add("Arcane");

        this.color.setBlue(true);

        // Target player puts the top four cards of his or her library into his or her graveyard.
        this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetPlayer());
        // Splice onto Arcane {1}{U}
        this.addAbility(new SpliceOntoArcaneAbility("{1}{U}"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

        this.color.setBlue(true);

        // Target player puts the top X cards of his or her library into his or her graveyard, where X is the number of lands you control.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(new PermanentsOnBattlefieldCount(filter)));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.