* Marauding Maulhorn - Fixed that attacking was not forced.

This commit is contained in:
LevelX2 2015-09-02 16:31:32 +02:00
parent 100ad1b2de
commit df7ace5568

View file

@ -41,6 +41,7 @@ import mage.constants.Rarity;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterControlledCreaturePermanent; import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.predicate.mageobject.NamePredicate; import mage.filter.predicate.mageobject.NamePredicate;
import mage.watchers.common.AttackedThisTurnWatcher;
/** /**
* *
@ -49,6 +50,7 @@ import mage.filter.predicate.mageobject.NamePredicate;
public class MaraudingMaulhorn extends CardImpl { public class MaraudingMaulhorn extends CardImpl {
private final static FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("creature named Advocate of the Beast"); private final static FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("creature named Advocate of the Beast");
static { static {
filter.add(new NamePredicate("Advocate of the Beast")); filter.add(new NamePredicate("Advocate of the Beast"));
} }
@ -67,7 +69,7 @@ public class MaraudingMaulhorn extends CardImpl {
new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 1)); new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 1));
effect.setText("{this} attacks each combat if able unless you control a creature named Advocate of the Beast"); effect.setText("{this} attacks each combat if able unless you control a creature named Advocate of the Beast");
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect), new AttackedThisTurnWatcher());
} }