mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
better use of the CardsImpl constructor
This commit is contained in:
parent
dc112215d4
commit
2cd9e25229
89 changed files with 248 additions and 402 deletions
|
|
@ -65,8 +65,7 @@ public class MiracleWatcher extends Watcher {
|
|||
if (ability instanceof MiracleAbility) {
|
||||
Player controller = game.getPlayer(ability.getControllerId());
|
||||
if (controller != null) {
|
||||
Cards cards = new CardsImpl();
|
||||
cards.add(card);
|
||||
Cards cards = new CardsImpl(card);
|
||||
controller.lookAtCards("Miracle", cards, game);
|
||||
if (controller.chooseUse(Outcome.Benefit, "Reveal " + card.getLogName() + " to be able to use Miracle?", ability, game)) {
|
||||
controller.revealCards("Miracle", cards, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue