mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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,14 +41,16 @@ import mage.constants.Rarity;
|
|||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
import mage.watchers.common.AttackedThisTurnWatcher;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jeffwadsworth
|
||||
*/
|
||||
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 {
|
||||
filter.add(new NamePredicate("Advocate of the Beast"));
|
||||
}
|
||||
|
@ -67,8 +69,8 @@ public class MaraudingMaulhorn extends CardImpl {
|
|||
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");
|
||||
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
|
||||
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect), new AttackedThisTurnWatcher());
|
||||
|
||||
}
|
||||
|
||||
public MaraudingMaulhorn(final MaraudingMaulhorn card) {
|
||||
|
|
Loading…
Reference in a new issue