* Added a simple identifier to tooltip and game log to be able to identify the exact target if multiple objects with the same name exist.

This commit is contained in:
LevelX2 2015-05-12 17:30:14 +02:00
parent e2cb40de70
commit 28d46e2a95
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ public class GameLog {
}
public static String getColoredObjectName(MageObject mageObject) {
return "<font color=\'" + getColorName(mageObject.getColor()) + "\'>" + mageObject.getName() + "</font>";
return "<font color=\'" + getColorName(mageObject.getColor()) + "\'>" + mageObject.getName() + " ["+mageObject.getId().toString().substring(0,3) + "]</font>";
}
public static String getNeutralColoredText(String text) {