Package mage.abilities.common

Examples of mage.abilities.common.DiesTriggeredAbility


        this.toughness = new MageInt(1);

        // When Myr Retriever dies, return another target artifact card from your graveyard to your hand.
        Effect effect = new ReturnFromGraveyardToHandTargetEffect();
        effect.setText("return another target artifact card from your graveyard to your hand");
        Ability ability = new DiesTriggeredAbility(effect);
        ability.addTarget(new TargetCardInYourGraveyard(filter));
        this.addAbility(ability);
    }
View Full Code Here


        this.subtype.add("Goblin");
        this.color.setRed(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(HasteAbility.getInstance());
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new TuktukTheReturnedToken())));
    }
View Full Code Here

        // Hooded Hydra enters the battlefield with X +1/+1 counters on it.
        this.addAbility(new EntersBattlefieldAbility(new HoodedHydraEffect1(), "with X +1/+1 counters on it"));
       
        // When Hooded Hydra dies, put a 1/1 green Snake creature token onto the battlefield for each +1/+1 counter on it.
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new SnakeToken("KTK"), new CountersCount(CounterType.P1P1)), false));
       
        // Morph {3}{G}{G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{G}{G}")));
       
        // As Hooded Hydra is turned face up, put five +1/+1 counters on it.
View Full Code Here

        this.power = new MageInt(8);
        this.toughness = new MageInt(8);

        this.addAbility(TrampleAbility.getInstance());
        // When Moldgraf Monstrosity dies, exile it, then return two creature cards at random from your graveyard to the battlefield.
        DiesTriggeredAbility ability = new DiesTriggeredAbility(new ExileSourceEffect());
        ability.addEffect(new MoldgrafMonstrosityEffect());
        this.addAbility(ability);
    }
View Full Code Here

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

        // When Elder Cathar dies, put a +1/+1 counter on target creature you control. If that creature is a Human, put two +1/+1 counters on it instead.
        Ability ability = new DiesTriggeredAbility(new ElderCatharAddCountersTargetEffect(), false);
        ability.addTarget(new TargetControlledCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.toughness = new MageInt(6);

        // Scuttling Doom Engine can't be blocked by creatures with power 2 or less.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByCreaturesSourceEffect(filter, Duration.WhileOnBattlefield)));
        // When Scuttling Doom Engine dies, it deals 6 damage to target opponnent
        Ability ability = new DiesTriggeredAbility(new DamageTargetEffect(6), false);
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "MBS";
        this.subtype.add("Hound");
        this.color.setBlack(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(new DiesTriggeredAbility(new LoseLifeAllPlayersEffect(4)));
    }
View Full Code Here

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

        // When Anodet Lurker dies, you gain 3 life.
        this.addAbility(new DiesTriggeredAbility(new GainLifeEffect(3)));
    }
View Full Code Here

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

        // When you cycle Bant Sojourners or it dies, you may put a 1/1 white Soldier creature token onto the battlefield.
        Ability ability1 = new CycleTriggeredAbility(new CreateTokenEffect(new SoldierToken()), true);
        Ability ability2 = new DiesTriggeredAbility(new CreateTokenEffect(new SoldierToken()), true);
        this.addAbility(ability1);
        this.addAbility(ability2);
       
        // Cycling {2}{W}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{W}")));
View Full Code Here

        this.subtype.add("Druid");
        this.color.setGreen(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        // When Seedguide Ash dies, you may search your library for up to three Forest cards and put them onto the battlefield tapped. If you do, shuffle your library.
        this.addAbility(new DiesTriggeredAbility(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(0, 3, filter), true, false, Outcome.PutLandInPlay), true));
    }
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.