mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
MoJhoSto logging
This commit is contained in:
@@ -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")) {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user