mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Print more info about targets chosen during simulation.
This commit is contained in:
@@ -65,9 +65,16 @@ public class SpellAbilityPicker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
System.out.println("BEST: " + bestSa + " SCORE: " + bestSaValue);
|
String saString = "N/A";
|
||||||
|
if (bestSa != null) {
|
||||||
|
saString += bestSa.toString();
|
||||||
|
if (bestSa.usesTargeting()) {
|
||||||
|
saString += " (targets: " + bestSa.getTargets().getTargetedString() + ")";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
System.out.println("BEST: " + saString + " SCORE: " + bestSaValue);
|
||||||
return bestSa;
|
return bestSa;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean shouldWaitForLater(final SpellAbility sa) {
|
private boolean shouldWaitForLater(final SpellAbility sa) {
|
||||||
final PhaseType phase = game.getPhaseHandler().getPhase();
|
final PhaseType phase = game.getPhaseHandler().getPhase();
|
||||||
|
|||||||
Reference in New Issue
Block a user