mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Marauding Maulhorn - Fixed that attacking was not forced.
This commit is contained in:
parent
100ad1b2de
commit
df7ace5568
1 changed files with 6 additions and 4 deletions
|
@ -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());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue