Fixed Issue 62

This commit is contained in:
magenoxx 2011-08-10 16:05:56 +04:00
parent e92ccb7b2f
commit 1decdf31f4

View file

@ -75,9 +75,12 @@ public class CardInfoPaneImpl extends JEditorPane implements CardInfoPane {
} }
rulings.add(sb.toString()); rulings.add(sb.toString());
} }
int damage = ((PermanentView)card).getDamage();
if (damage > 0) {
rulings.add("<span color='red'><b>Damage dealt:</b> " + damage + "</span>");
}
} }
boolean smallImages = true; boolean smallImages = true;
int fontSize = 11; int fontSize = 11;