Package mage.abilities.common

Examples of mage.abilities.common.DiesTriggeredAbility


        Effect effect = new ConditionalContinousEffect(
                new BoostTargetEffect(-4,-4, Duration.EndOfTurn),
                new BoostTargetEffect(-1,-1, Duration.EndOfTurn),
                new LockedInCondition(new PermanentsOnTheBattlefieldCondition(filterBogbrewWitch)),
                "target creature an opponent controls gets -1/-1 until end of turn. That creature gets -4/-4 instead if you control a creature named Bogbrew Witch");
        Ability ability = new DiesTriggeredAbility(effect);
        ability.addTarget(new TargetCreaturePermanent(filterCreature));
        this.addAbility(ability);
    }
View Full Code Here


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

        // When Soulcage Fiend dies, each player loses 3 life.
        this.addAbility(new DiesTriggeredAbility(new LoseLifeAllPlayersEffect(3)));
    }
View Full Code Here

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

        // When Akki Blizzard-Herder dies, each player sacrifices a land.
        this.addAbility(new DiesTriggeredAbility(new SacrificeAllEffect(filter)));
    }
View Full Code Here

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

        // When Gang of Devils dies, it deals 3 damage divided as you choose among one, two, or three target creatures and/or players.
        Ability ability = new DiesTriggeredAbility(new DamageMultiEffect(3));
        ability.addTarget(new TargetCreatureOrPlayerAmount(3));
        this.addAbility(ability);
    }
View Full Code Here

        super(ownerId, 224, "Runed Servitor", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
        this.expansionSetCode = "ROE";
        this.subtype.add("Construct");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        this.addAbility(new DiesTriggeredAbility(new DrawCardAllEffect(1), false));
    }
View Full Code Here

        this.toughness = new MageInt(5);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Mindeye Drake dies, target player puts the top five cards of his or her library into his or her graveyard.
        Ability ability = new DiesTriggeredAbility(new PutLibraryIntoGraveTargetEffect(5));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

        this.subtype.add("Zubera");
        this.subtype.add("Spirit");
        this.color.setBlue(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(2);
        this.addAbility(new DiesTriggeredAbility(new DrawCardSourceControllerEffect(new ZuberasDiedDynamicValue())));
        this.addWatcher(new ZuberasDiedWatcher());
    }
View Full Code Here

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

        this.addAbility(TrampleAbility.getInstance());
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(7), false));
        this.addAbility(new DiesTriggeredAbility(new DrawCardSourceControllerEffect(1), false));
    }
View Full Code Here

                    new AddCountersSourceEffect(CounterType.P1P1.createInstance(3)),
                    new InvertCondition(new CastFromHandCondition()), true,
                    "{this} enters the battlefield with three +1/+1 counters on it if you didn't cast it from your hand",""));

        // When Epochrasite dies, exile it with three time counters on it and it gains suspend.
        Ability ability = new DiesTriggeredAbility(new ExileSourceEffect());
        ability.addEffect(new AddCountersSourceEffect(CounterType.TIME.createInstance(3), new StaticValue(0), false, true));
        ability.addEffect(new GainAbilitySourceEffect(new SuspendAbility(3, null, this), Duration.OneUse, true));
        this.addAbility(ability);
    }
View Full Code Here

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

        // When Rotcrown Ghoul dies, target player puts the top five cards of his or her library into his or her graveyard.
        Ability ability = new DiesTriggeredAbility(new PutLibraryIntoGraveTargetEffect(5));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
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.