示例#1
0
  public Craterize(GameState state) {
    super(state);

    // Destroy target land.
    Target target = this.addTarget(LandPermanents.instance(), "target land");
    this.addEffect(destroy(targetedBy(target), "Destroy target land."));
  }
示例#2
0
 public ElspethTirelAbility2(GameState state) {
   super(state, -5, "Destroy all other permanents except for lands and tokens.");
   SetGenerator destroy =
       RelativeComplement.instance(
           Permanents.instance(),
           Union.instance(ABILITY_SOURCE_OF_THIS, LandPermanents.instance(), Tokens.instance()));
   this.addEffect(destroy(destroy, "Destroy all other permanents except for lands and tokens."));
 }
示例#3
0
      public UntapLands(GameState state) {
        super(state, "Whenever this creature attacks, untap all lands you control.");

        this.addPattern(whenThisAttacks());

        this.addEffect(
            untap(
                Intersect.instance(
                    LandPermanents.instance(), ControlledBy.instance(You.instance())),
                "Untap all lands you control."));
      }
示例#4
0
  public MagmaRift(GameState state) {
    super(state);

    // As an additional cost to cast Magma Rift, sacrifice a land.
    this.addCost(sacrifice(You.instance(), 1, LandPermanents.instance(), "Sacrifice a land"));

    // Magma Rift deals 5 damage to target creature.
    Target target = this.addTarget(CreaturePermanents.instance(), "target creature");
    this.addEffect(
        spellDealDamage(5, targetedBy(target), "Magma Rift deals 5 damage to target creature."));
  }
示例#5
0
 public ManaDenial(GameState state) {
   super(
       state,
       "When a Faerie is championed with Mistbind Clique, tap all lands target player controls.");
   this.addPattern(
       whenSomethingIsChampioned(ABILITY_SOURCE_OF_THIS, HasSubType.instance(SubType.FAERIE)));
   Target target = this.addTarget(Players.instance(), "target player");
   this.addEffect(
       tap(
           Intersect.instance(
               LandPermanents.instance(), ControlledBy.instance(targetedBy(target))),
           "Tap all lands target player controls."));
 }
示例#6
0
 public TerraEternalAbility0(GameState state) {
   super(state, "All lands are indestructible.");
   this.addEffectPart(indestructible(LandPermanents.instance()));
 }