mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Print more info about targets chosen during simulation.
This commit is contained in:
@@ -65,7 +65,14 @@ 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user