mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
fixed Portal Mage text
This commit is contained in:
parent
8216f7f998
commit
44b37cd5c9
1 changed files with 4 additions and 4 deletions
|
@ -68,11 +68,11 @@ public class PortalMage extends CardImpl {
|
||||||
// Flash
|
// Flash
|
||||||
this.addAbility(FlashAbility.getInstance());
|
this.addAbility(FlashAbility.getInstance());
|
||||||
|
|
||||||
// If Portal Mage enters the battlefield during the declare attackers step, you may reselect the player or planeswalker that the target attacking creature attacks.
|
// When Portal Mage enters the battlefield during the declare attackers step, you may reselect which player or planeswalker target attacking creature is attacking.
|
||||||
Ability ability = new ConditionalTriggeredAbility(
|
Ability ability = new ConditionalTriggeredAbility(
|
||||||
new EntersBattlefieldTriggeredAbility(new PortalMageEffect(), true),
|
new EntersBattlefieldTriggeredAbility(new PortalMageEffect(), true),
|
||||||
new IsStepCondition(PhaseStep.DECLARE_ATTACKERS, false),
|
new IsStepCondition(PhaseStep.DECLARE_ATTACKERS, false),
|
||||||
"If {this} enters the battlefield during the declare attackers step, you may reselect the player or planeswalker that the target attacking creature attacks. "
|
"When {this} enters the battlefield during the declare attackers step, you may reselect which player or planeswalker target attacking creature is attacking. "
|
||||||
+ "<i>(It can't attack its controller or its controller's planeswalkers.)</i>");
|
+ "<i>(It can't attack its controller or its controller's planeswalkers.)</i>");
|
||||||
ability.addTarget(new TargetCreaturePermanent(new FilterAttackingCreature()));
|
ability.addTarget(new TargetCreaturePermanent(new FilterAttackingCreature()));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
@ -92,7 +92,7 @@ class PortalMageEffect extends OneShotEffect {
|
||||||
|
|
||||||
public PortalMageEffect() {
|
public PortalMageEffect() {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
this.staticText = "you may reselect the player or planeswalker that the target attacking creature attacks";
|
this.staticText = "you may reselect which player or planeswalker target attacking creature is attacking";
|
||||||
}
|
}
|
||||||
|
|
||||||
public PortalMageEffect(final PortalMageEffect effect) {
|
public PortalMageEffect(final PortalMageEffect effect) {
|
||||||
|
@ -147,7 +147,7 @@ class PortalMageEffect extends OneShotEffect {
|
||||||
attacked = permanent.getLogName();
|
attacked = permanent.getLogName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
game.informPlayers(attackingCreature.getLogName() + " attacks now " + attacked);
|
game.informPlayers(attackingCreature.getLogName() + " now attacks " + attacked);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue