Examples of DestroyAllEffect


Examples of mage.abilities.effects.common.DestroyAllEffect

        super(ownerId, 14, "Soulscour", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{7}{W}{W}{W}");
        this.expansionSetCode = "DST";
        this.color.setWhite(true);

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

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "WTH";

        this.color.setGreen(true);

        // {1}{G}{G}: Destroy all other enchantments.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyAllEffect(filter), new ManaCostsImpl("{1}{G}{G}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "WTH";

        this.color.setWhite(true);

        // At the beginning of your upkeep, destroy all artifacts and enchantments. They can't be regenerated.
        Effect effect = new DestroyAllEffect(new FilterPermanent(filter), true);
        Ability ability = new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", effect, false);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "10E";

        this.color.setWhite(true);

        // Destroy all creatures. They can't be regenerated.
        this.getSpellAbility().addEffect(new DestroyAllEffect(new FilterCreaturePermanent("creatures"), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.color.setRed(true);
        this.power = new MageInt(10);
        this.toughness = new MageInt(10);

        // When Bearer of the Heavens dies, destroy all permanents at the beginning of the next end step.
        DelayedTriggeredAbility delayedAbility = new AtEndOfTurnDelayedTriggeredAbility(new DestroyAllEffect(new FilterPermanent("permanents")));
        Effect effect = new CreateDelayedTriggeredAbilityEffect(delayedAbility);
        effect.setText("destroy all permanents at the beginning of the next end step");
        this.addAbility(new DiesTriggeredAbility(effect, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "M15";

        this.color.setBlack(true);

        // Destroy all creatures you don't control and all planeswalkers you don't control.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "PTK";

        this.color.setWhite(true);

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

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "BNG";

        this.color.setWhite(true);

        // Destroy all creatures and planeswalkers. If it's your turn, scry 2.
        this.getSpellAbility().addEffect(new DestroyAllEffect(filter, false));
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new ScryEffect(2), MyTurnCondition.getInstance(), "If it's your turn, scry 2"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DestroyAllEffect

        this.expansionSetCode = "5ED";

        this.color.setWhite(true);

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

Examples of mage.abilities.effects.common.DestroyAllEffect

        // Nevinyrral's Disk enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
       
        // {1}, {tap}: Destroy all artifacts, creatures, and enchantments.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyAllEffect(filter, false), new ManaCostsImpl("{1}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
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.