forked from External/mage
text fix: Mystic Barrier
This commit is contained in:
parent
07ee4661e7
commit
baef93d0ec
1 changed files with 2 additions and 8 deletions
|
|
@ -3,7 +3,6 @@ package mage.cards.m;
|
|||
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.ChooseModeEffect;
|
||||
import mage.abilities.effects.common.continuous.PlayerCanOnlyAttackInDirectionRestrictionEffect;
|
||||
import mage.abilities.meta.OrTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
|
@ -20,16 +19,11 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class MysticBarrier extends CardImpl {
|
||||
|
||||
static final String ALLOW_ATTACKING_LEFT = "Allow attacking left";
|
||||
static final String ALLOW_ATTACKING_RIGHT = "Allow attacking right";
|
||||
|
||||
public MysticBarrier(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{4}{W}");
|
||||
|
||||
// When Mystic Barrier enters the battlefield or at the beginning of your upkeep, choose left or right.
|
||||
this.addAbility(new OrTriggeredAbility(Zone.BATTLEFIELD, new ChooseModeEffect(
|
||||
"Choose a direction to allow attacking in.",
|
||||
ALLOW_ATTACKING_LEFT, ALLOW_ATTACKING_RIGHT),
|
||||
this.addAbility(new OrTriggeredAbility(Zone.BATTLEFIELD, PlayerCanOnlyAttackInDirectionRestrictionEffect.choiceEffect(),
|
||||
new EntersBattlefieldTriggeredAbility(null, false),
|
||||
new BeginningOfUpkeepTriggeredAbility(null, TargetController.YOU, false)));
|
||||
|
||||
|
|
@ -50,4 +44,4 @@ public final class MysticBarrier extends CardImpl {
|
|||
public MysticBarrier copy() {
|
||||
return new MysticBarrier(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue