MoJhoSto logging

This commit is contained in:
Adam Pantel
2021-04-05 18:57:36 -04:00
parent 9095dcd9d8
commit c77f99cf9b
2 changed files with 4 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ public class CopyPermanentEffect extends TokenEffectBase {
copysource.remove(cp); copysource.remove(cp);
} }
tgtCards = choice; tgtCards = choice;
System.err.println("Copying random permanent(s): " + tgtCards.toString());
} else if (sa.hasParam("DefinedName")) { } else if (sa.hasParam("DefinedName")) {
String name = sa.getParam("DefinedName"); String name = sa.getParam("DefinedName");
if (name.equals("NamedCard")) { if (name.equals("NamedCard")) {

View File

@@ -124,6 +124,7 @@ public class PlayEffect extends SpellAbilityEffect {
choice.add(possibleCard); choice.add(possibleCard);
} }
if (sa.hasParam("ChoiceNum")) { if (sa.hasParam("ChoiceNum")) {
System.err.println("Offering random spells to copy: " + choice.toString());
final int choicenum = AbilityUtils.calculateAmount(source, sa.getParam("ChoiceNum"), sa); final int choicenum = AbilityUtils.calculateAmount(source, sa.getParam("ChoiceNum"), sa);
tgtCards = new CardCollection( tgtCards = new CardCollection(
activator.getController().chooseCardsForEffect(choice, sa, activator.getController().chooseCardsForEffect(choice, sa,
@@ -134,6 +135,7 @@ public class PlayEffect extends SpellAbilityEffect {
else { else {
tgtCards = choice; tgtCards = choice;
} }
System.err.println("Copying random spell(s): " + tgtCards.toString());
} }
else { else {
return; return;