GUI, game: added card popup support in choose target amount dialogs (example: damage distribution, related to #9827)

This commit is contained in:
Oleg Agafonov 2024-10-24 16:15:03 +04:00
parent 0fbd9bb60f
commit 1ec277631f
6 changed files with 43 additions and 24 deletions

View file

@ -1124,7 +1124,7 @@ public class HumanPlayer extends PlayerImpl {
MageObject targetObject = game.getObject(targetId);
if (targetObject != null) {
targetNames.add(String.format("%s, P/T: %d/%d",
targetObject.getIdName(),
targetObject.getLogName(),
targetObject.getPower().getValue(),
targetObject.getToughness().getValue()
));