Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.SacrificeEffect


        this.expansionSetCode = "SCG";

        this.color.setWhite(true);

        // Target player sacrifices an attacking creature.
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterAttackingCreature(), 1, "Target player"));
        this.getSpellAbility().addTarget(new TargetPlayer());
        // Storm
        this.addAbility(new StormAbility());
    }
View Full Code Here


    }
}

class PhyrexianObliteratorTriggeredAbility extends TriggeredAbilityImpl {
    PhyrexianObliteratorTriggeredAbility() {
        super(Zone.BATTLEFIELD, new SacrificeEffect(new FilterPermanent(), 0, ""));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.SacrificeEffect

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.