Examples of SacrificeSourceEffect


Examples of mage.abilities.effects.common.SacrificeSourceEffect

        // Trample
        this.addAbility(TrampleAbility.getInstance());
        // Haste
        this.addAbility(HasteAbility.getInstance());
        // At the beginning of the end step, sacrifice Blistering Firecat.
         this.addAbility(new OnEventTriggeredAbility(GameEvent.EventType.END_TURN_STEP_PRE, "beginning of the end step", true, new SacrificeSourceEffect()));
        // Morph {R}{R}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}{R}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

                permanent.moveToZone(Zone.HAND, this.getId(), game, false);
            }
        }

        if ( !targetChosen ) {
            new SacrificeSourceEffect().apply(game, source);
        }

        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

        this.toughness = new MageInt(1);

        // Haste
        this.addAbility(HasteAbility.getInstance());
        // At the beginning of the end step, sacrifice Ichorid.
        this.addAbility(new BeginningOfYourEndStepTriggeredAbility(new SacrificeSourceEffect(), false));
        // At the beginning of your upkeep, if Ichorid is in your graveyard, you may exile a black creature card other than Ichorid from your graveyard. If you do, return Ichorid to the battlefield.
        FilterCard filter = new FilterCreatureCard("a black creature card other than Ichorid from your graveyard");
        filter.add(Predicates.not(new CardIdPredicate(this.getId())));
        filter.add(new ColorPredicate(ObjectColor.BLACK));
        Ability ability = new IchoridTriggerdAbility(filter);
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

}

class SeasingerTriggeredAbility extends StateTriggeredAbility {

    public SeasingerTriggeredAbility() {
        super(Zone.BATTLEFIELD, new SacrificeSourceEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

}

class PorphyryNodesStateTriggeredAbility extends StateTriggeredAbility {

    public PorphyryNodesStateTriggeredAbility() {
        super(Zone.BATTLEFIELD, new SacrificeSourceEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        // Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Heliod.
        ability = new AttacksAttachedTriggeredAbility(new AddCountersAttachedEffect(CounterType.P1P1.createInstance(),"it"), AttachmentType.AURA, false);
        ability.addEffect(new ConditionalOneShotEffect(new SacrificeSourceEffect(), new AttachedToCounterCondition(CounterType.P1P1, 3),
                "Then if it has three or more +1/+1 counters on it, sacrifice {this}"));
        this.addAbility(ability);
        // When you sacrifice Ordeal of Heliod, you gain 10 life.
        this.addAbility(new SacrificeSourceTriggeredAbility(new GainLifeEffect(10), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

        this.toughness = new MageInt(3);

        // Flanking
        this.addAbility(new FlankingAbility());
        // When Skulking Knight becomes the target of a spell or ability, sacrifice it.
        this.addAbility(new BecomesTargetTriggeredAbility(new SacrificeSourceEffect()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

        this.addAbility(TrampleAbility.getInstance());
        this.addAbility(LifelinkAbility.getInstance());
        this.addAbility(HasteAbility.getInstance());

        // At the beginning of the end step, sacrifice Spark Trooper.
        this.addAbility(new BeginningOfEndStepTriggeredAbility(new SacrificeSourceEffect(), TargetController.ANY, false));

    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

                permanent.moveToZone(Zone.HAND, this.getId(), game, false);
            }
        }

        if ( !targetChosen ) {
            new SacrificeSourceEffect().apply(game, source);
        }

        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeSourceEffect

        this.expansionSetCode = "ULG";

        this.color.setBlack(true);

        // At the beginning of your upkeep, if you have no cards in hand, sacrifice Brink of Madness and target opponent discards his or her hand.
        TriggeredAbility ability  = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new SacrificeSourceEffect(), TargetController.YOU, false);
        ability.addEffect(new BrinkOfMadnessEffect());
        ability.addTarget(new TargetOpponent());
        CardsInHandCondition contition = new CardsInHandCondition(CardsInHandCondition.CountType.EQUAL_TO, 0);
        this.addAbility(new ConditionalTriggeredAbility(ability, contition, "At the beginning of your upkeep, if you have no cards in hand, sacrifice {this} and target opponent discards his or her hand."));
       
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.