Examples of DiesCreatureTriggeredAbility


Examples of mage.abilities.common.DiesCreatureTriggeredAbility

        this.expansionSetCode = "ZEN";

        this.color.setBlack(true);

        // Whenever a creature dies, you may put a quest counter on Quest for the Gravelord.
        this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.QUEST.createInstance()), true));
        // Remove three quest counters from Quest for the Gravelord and sacrifice it: Put a 5/5 black Zombie Giant creature token onto the battlefield.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CreateTokenEffect(new ZombieToken()),
                new RemoveCountersSourceCost(CounterType.QUEST.createInstance(3)));
        ability.addCost(new SacrificeSourceCost());
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

        this.expansionSetCode = "M14";

        this.color.setBlack(true);

        // Whenever a creature you control dies, you draw a card and lose 1 life.
        Ability ability = new DiesCreatureTriggeredAbility(new DrawCardSourceControllerEffect(1), false, filter);
        ability.addEffect(new LoseLifeSourceControllerEffect(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

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

        // Whenever another creature dies, you may gain 1 life.
        this.addAbility(new DiesCreatureTriggeredAbility(new GainLifeEffect(1), true, true));
    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

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

        this.addAbility(FlyingAbility.getInstance());
        // Whenever another creature dies, you may put a +1/+1 counter on Scavenger Drake.
        this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true, true));
    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

        this.toughness = new MageInt(2);

        // Bushido 1
        this.addAbility(new BushidoAbility(1));
        // Whenever a creature an opponent controls dies, you may cast target instant card from your graveyard. If that card would be put into a graveyard this turn, exile it instead.
        Ability ability = new DiesCreatureTriggeredAbility(new ToshiroUmezawaEffect(), true, filter);
        ability.addTarget(new TargetCardInYourGraveyard(1,1, filterInstant));
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

        // Swarm of Bloodflies enters the battlefield with two +1/+1 counters on it.
        Effect effect = new AddCountersSourceEffect(CounterType.P1P1.createInstance(2), true);
        effect.setText("with two +1/+1 counters on it");
        this.addAbility(new EntersBattlefieldAbility(effect));
        // Whenever another creature dies, put a +1/+1 counter on Swarm of Bloodflies
        this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false, true));
    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

        // Galvanic Juggernaut attacks each turn if able.
        this.addAbility(new AttacksEachTurnStaticAbility());
        // Galvanic Juggernaut doesn't untap during your untap step.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));
        // Whenever another creature dies, untap Galvanic Juggernaut.
        this.addAbility(new DiesCreatureTriggeredAbility(new UntapSourceEffect(), false, true));
    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

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

        // Whenever a creature you control with toughness 4 or greater dies, you gain 4 life.
        this.addAbility(new DiesCreatureTriggeredAbility(new GainLifeEffect(4), false, filter));

    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

        // Morph {B}
        this.addAbility(new MorphAbility(this, new ColoredManaCost(ColoredManaSymbol.B)));
       
        // Whenever another nontoken creature you control dies, draw a card.
        this.addAbility(new DiesCreatureTriggeredAbility(new DrawCardSourceControllerEffect(1), false, filter));
    }
View Full Code Here

Examples of mage.abilities.common.DiesCreatureTriggeredAbility

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

        // Whenever a creature you control with toughness 4 or greater dies, each opponent loses 2 life and you gain 2 life.
        Ability ability = new DiesCreatureTriggeredAbility(new LoseLifeOpponentsEffect(2), false, toughnessFilter);
        Effect effect = new GainLifeEffect(2);
        effect.setText("and you gain 2 life");
        ability.addEffect(effect);
        this.addAbility(ability);
       
        // {2}{B}, Sacrifice another creature: Put a +1/+1 counter on Kheru Bloodsucker.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl<>("{2}{B}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(anotherFilter)));
        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.