Examples of SacrificeEffect


Examples of mage.abilities.effects.common.SacrificeEffect

    public CruelEdict(UUID ownerId) {
        super(ownerId, 133, "Cruel Edict", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{B}");
        this.expansionSetCode = "10E";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterCreaturePermanent(), 1, "Target opponent sacrifices a creature"));
        this.getSpellAbility().addTarget(new TargetOpponent());
        // Target opponent sacrifices a creature.
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

        this.toughness = new MageInt(6);
        this.addAbility(new SwampwalkAbility());
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new ReturnFromGraveyardToBattlefieldTargetEffect(false), TargetController.YOU, false);
        ability.addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard("creature card from your graveyard")));
        this.addAbility(ability);
        ability = new BeginningOfUpkeepTriggeredAbility(new SacrificeEffect(new FilterCreaturePermanent(), 1, "that player "), TargetController.OPPONENT, false);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

    public GethsVerdict (UUID ownerId) {
        super(ownerId, 61, "Geth's Verdict", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{B}{B}");
        this.expansionSetCode = "NPH";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterCreaturePermanent(), 1, "Target player"));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(1));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

        this.color.setBlack(true);

        // Delve
        this.addAbility(new DelveAbility());
        // Target player sacrifices two creatures
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterCreaturePermanent(), 2, "Target player"));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

    }

    @Override
    public boolean apply(Game game, Ability source) {
        if ( MetalcraftCondition.getInstance().apply(game, source) ) {
            return new SacrificeEffect(filter, 2, effectText).apply(game, source);
        }
        else {
            return new SacrificeEffect(filter, 1, effectText).apply(game, source);
        }
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

        filter = new FilterControlledPermanent(" a creature");
        filter.add(new CardTypePredicate(CardType.CREATURE));
    }

    public ThraximundarTriggeredAbility() {
        super(Zone.BATTLEFIELD, new SacrificeEffect(filter, 1, "defending player"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

        filter = new FilterControlledPermanent(" a creature");
        filter.add(new CardTypePredicate(CardType.CREATURE));
    }

    public NefaroxOverlordOfGrixisTriggeredAbility() {
        super(Zone.BATTLEFIELD, new SacrificeEffect(filter, 1, "defending player"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

}

class MichikoKondaTruthSeekerAbility extends TriggeredAbilityImpl {

    public MichikoKondaTruthSeekerAbility() {
        super(Zone.BATTLEFIELD, new SacrificeEffect(new FilterPermanent(), 1, "that player"), false);
    }
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

        this.color.setBlack(true);

        // Target opponent sacrifices a creature, discards three cards, then loses 5 life.
        // You return a creature card from your graveyard to your hand, draw three cards, then gain 5 life.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterCreaturePermanent(), 1, "Target opponent"));
        this.getSpellAbility().addEffect(new DiscardTargetEffect(3));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(5));

        this.getSpellAbility().addEffect(new CruelUltimatumEffect());
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
View Full Code Here

Examples of mage.abilities.effects.common.SacrificeEffect

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

        // At the beginning of each player's upkeep, that player sacrifices an artifact, creature, or land.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new SacrificeEffect(filter, 1, ""), TargetController.ANY, false));
   
    }
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.