Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DestroyAllEffect


        this.color.setWhite(true);
        this.power = new MageInt(7);
        this.toughness = new MageInt(7);

        // Whenever Novablast Wurm attacks, destroy all other creatures.
        this.addAbility(new AttacksTriggeredAbility(new DestroyAllEffect(filter), false));
    }
View Full Code Here


        // You may sacrifice two Mountains rather than pay Pulverize's mana cost.
        this.addAbility(new AlternativeCostSourceAbility(new SacrificeTargetCost(new TargetControlledPermanent(2, 2, filter, true))));
       
        // Destroy all artifacts.
        this.getSpellAbility().addEffect(new DestroyAllEffect(new FilterArtifactPermanent()));
    }
View Full Code Here

        this.expansionSetCode = "POR";

        this.color.setRed(true);

        // Destroy all creatures and lands.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

        this.expansionSetCode = "SHM";

        this.color.setWhite(true);

        // Destroy all nonwhite creatures.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // When Siege Dragon enters the battlefield, destroy all Walls your opponents control.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DestroyAllEffect(filter), false));
       
        // Whenever Siege Dragon attacks, if defending player controls no Walls, it deals 2 damage to each creature without flying that player controls.
        this.addAbility(new SiegeDragonAttacksTriggeredAbility());
    }
View Full Code Here

        this.expansionSetCode = "POR";

        this.color.setBlack(true);

        // Destroy all white creatures.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

        // When Goblin Pyromancer enters the battlefield, Goblin creatures get +3/+0 until end of turn.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new BoostControlledEffect(3, 0, Duration.EndOfTurn, filterCreature)));
       
        // At the beginning of the end step, destroy all Goblins.
        this.addAbility(new BeginningOfEndStepTriggeredAbility(new DestroyAllEffect(filterPermanent, false), TargetController.ANY, false));
    }
View Full Code Here

        this.expansionSetCode = "STH";

        this.color.setRed(true);

        // Destroy all nonbasic lands.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

        this.color.setRed(true);

        // Obliterate can't be countered.
        this.addAbility(new CantCounterAbility());
        // Destroy all artifacts, creatures, and lands. They can't be regenerated.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

        this.expansionSetCode = "5DN";

        this.color.setRed(true);

        // Destroy each nonland artifact with converted mana cost 4 or less.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.DestroyAllEffect

Copyright © 2018 www.massapicom. 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.