mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Added control change announcement
This commit is contained in:
parent
d5635e404a
commit
0efc03bc1b
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,7 @@ public class RiskyMove extends CardImpl {
|
|||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new RiskyMoveGetControlEffect(), TargetController.ANY, false, true));
|
||||
|
||||
// When you gain control of Risky Move from another player, choose a creature you control and an opponent. Flip a coin. If you lose the flip, that opponent gains control of that creature.
|
||||
Ability ability = new RiskyMoveTriggeredAbility();
|
||||
this.addAbility(ability);
|
||||
this.addAbility(new RiskyMoveTriggeredAbility());
|
||||
}
|
||||
|
||||
public RiskyMove(final RiskyMove card) {
|
||||
|
@ -194,6 +193,7 @@ class RiskyMoveFlipCoinEffect extends OneShotEffect {
|
|||
ContinuousEffect effect = new RiskyMoveCreatureGainControlEffect(Duration.Custom, chosenOpponent.getId());
|
||||
effect.setTargetPointer(new FixedTarget(permanent.getId()));
|
||||
game.addEffect(effect, source);
|
||||
game.informPlayers(chosenOpponent.getLogName() + " has gained control of " + permanent.getLogName());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue