Package mage.abilities.common

Examples of mage.abilities.common.DiesTriggeredAbility


        // Trample
        this.addAbility(TrampleAbility.getInstance());
       
        // When Worldspine Wurm dies, put three 5/5 green Wurm creature tokens with trample onto the battlefield.
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new WorldspineWurmToken(), 3)));
       
        // When Worldspine Wurm is put into a graveyard from anywhere, shuffle it into its owner's library.
        this.addAbility(new PutIntoGraveFromAnywhereTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
    }
View Full Code Here


        this.subtype.add("Wurm");
        this.color.setGreen(true);
        this.power = new MageInt(6);
        this.toughness = new MageInt(6);
        this.addAbility(TrampleAbility.getInstance());
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new PenumbraWurmToken(), 1), false));
    }
View Full Code Here

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

        this.addAbility(DefenderAbility.getInstance());
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(rocEggToken, 1), false));
    }
View Full Code Here

        this.color.setGreen(true);
        this.subtype.add("Fungus");
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new SaprolingToken()), false));
    }
View Full Code Here

        this.flipCardName = "Homura's Essence";

        // Homura, Human Ascendant can't block.
        this.addAbility(new CantBlockAbility());
        // When Homura dies, return it to the battlefield flipped.
        this.addAbility(new DiesTriggeredAbility(new FlipSourceEffect(new HomurasEssence2())));
    }
View Full Code Here

        this.power = new MageInt(5);
        this.toughness = new MageInt(3);

        // When you cycle Naya Sojourners or it dies, you may put a +1/+1 counter on target creature.
        Ability ability1 = new CycleTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
        Ability ability2 = new DiesTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
        ability1.addTarget(new TargetCreaturePermanent());
        ability2.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability1);
        this.addAbility(ability2);
       
        // Cycling {2}{G}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{G}")));
View Full Code Here

        // Trample
        this.addAbility(TrampleAbility.getInstance());
       
        // When Child of Alara dies, destroy all nonland permanents. They can't be regenerated.
        this.addAbility(new DiesTriggeredAbility(new DestroyAllEffect(new FilterNonlandPermanent("nonland permanents"), true)));
       
    }
View Full Code Here

        this.subtype.add("Goblin");
        this.subtype.add("Shaman");
        this.color.setBlack(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new DiesTriggeredAbility(new BoostTargetEffect(-2, -2, Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.subtype.add("Spirit");
        this.color.setBlack(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new DiesTriggeredAbility(new KokushoTheEveningStarEffect(), false));
    }
View Full Code Here

        this.power = new MageInt(4);
        this.toughness = new MageInt(3);

        // When you cycle Grixis Sojourners or it dies, you may exile target card from a graveyard.
        Ability ability1 = new CycleTriggeredAbility(new ExileTargetEffect(), true);
        Ability ability2 = new DiesTriggeredAbility(new ExileTargetEffect(), true);
        ability1.addTarget(new TargetCardInASingleGraveyard(1, 1, new FilterCard()));
        ability2.addTarget(new TargetCardInASingleGraveyard(1, 1, new FilterCard()));
        this.addAbility(ability1);
        this.addAbility(ability2);
       
        // Cycling {2}{B}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{B}")));
View Full Code Here

TOP

Related Classes of mage.abilities.common.DiesTriggeredAbility

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.