예제 #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()));
 }