From c77f99cf9b7411d7175b5623acfac2f27858d8a6 Mon Sep 17 00:00:00 2001 From: Adam Pantel <> Date: Mon, 5 Apr 2021 18:57:36 -0400 Subject: [PATCH] MoJhoSto logging --- .../java/forge/game/ability/effects/CopyPermanentEffect.java | 2 ++ .../src/main/java/forge/game/ability/effects/PlayEffect.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java b/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java index 81a726a4aa1..c2a0c2cd3f3 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java @@ -112,6 +112,8 @@ public class CopyPermanentEffect extends TokenEffectBase { copysource.remove(cp); } tgtCards = choice; + + System.err.println("Copying random permanent(s): " + tgtCards.toString()); } else if (sa.hasParam("DefinedName")) { String name = sa.getParam("DefinedName"); if (name.equals("NamedCard")) { diff --git a/forge-game/src/main/java/forge/game/ability/effects/PlayEffect.java b/forge-game/src/main/java/forge/game/ability/effects/PlayEffect.java index 4afc6797b24..2c8da3e2259 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/PlayEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/PlayEffect.java @@ -124,6 +124,7 @@ public class PlayEffect extends SpellAbilityEffect { choice.add(possibleCard); } if (sa.hasParam("ChoiceNum")) { + System.err.println("Offering random spells to copy: " + choice.toString()); final int choicenum = AbilityUtils.calculateAmount(source, sa.getParam("ChoiceNum"), sa); tgtCards = new CardCollection( activator.getController().chooseCardsForEffect(choice, sa, @@ -134,6 +135,7 @@ public class PlayEffect extends SpellAbilityEffect { else { tgtCards = choice; } + System.err.println("Copying random spell(s): " + tgtCards.toString()); } else { return;