mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
Some changes to SacrificeOpponent effect.
This commit is contained in:
parent
2cea0215a2
commit
f7af238919
4 changed files with 19 additions and 13 deletions
|
|
@ -32,7 +32,7 @@ import mage.abilities.effects.common.SacrificeOpponentsEffect;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.filter.common.FilterControlledLandPermanent;
|
||||
import mage.filter.common.FilterLandPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -47,7 +47,7 @@ public class YawningFissure extends CardImpl<YawningFissure> {
|
|||
this.color.setRed(true);
|
||||
|
||||
// Each opponent sacrifices a land.
|
||||
this.getSpellAbility().addEffect(new SacrificeOpponentsEffect(new FilterControlledLandPermanent()));
|
||||
this.getSpellAbility().addEffect(new SacrificeOpponentsEffect(new FilterLandPermanent()));
|
||||
}
|
||||
|
||||
public YawningFissure(final YawningFissure card) {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ import mage.cards.CardImpl;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
|
||||
|
|
@ -65,7 +64,7 @@ public class ButcherOfMalakir extends CardImpl<ButcherOfMalakir> {
|
|||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Whenever Butcher of Malakir or another creature you control dies, each opponent sacrifices a creature.
|
||||
this.addAbility(new DiesThisOrAnotherCreatureTriggeredAbility(new SacrificeOpponentsEffect(new FilterControlledCreaturePermanent()), false, filter));
|
||||
this.addAbility(new DiesThisOrAnotherCreatureTriggeredAbility(new SacrificeOpponentsEffect(new FilterCreaturePermanent()), false, filter));
|
||||
}
|
||||
|
||||
public ButcherOfMalakir(final ButcherOfMalakir card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue