use of mage.abilities.effects.common.ExileTargetEffect in project mage by magefree.
the class DiregrafHordeEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
if (!new ZombieDecayedToken().putOntoBattlefield(2, game, source, source.getControllerId())) {
return false;
}
ReflexiveTriggeredAbility ability = new ReflexiveTriggeredAbility(new ExileTargetEffect(), false, "exile up to two target cards from graveyards");
ability.addTarget(new TargetCardInGraveyard(0, 2));
game.fireReflexiveTriggeredAbility(ability, source);
return true;
}
Aggregations