From 1decdf31f44e25fa240dd466675b39c556d1b739 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Wed, 10 Aug 2011 16:05:56 +0400 Subject: [PATCH] Fixed Issue 62 --- .../java/org/mage/plugins/card/info/CardInfoPaneImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mage.Plugins/Mage.Card.Plugin/src/main/java/org/mage/plugins/card/info/CardInfoPaneImpl.java b/Mage.Plugins/Mage.Card.Plugin/src/main/java/org/mage/plugins/card/info/CardInfoPaneImpl.java index 3224174c5d..b830a7910e 100644 --- a/Mage.Plugins/Mage.Card.Plugin/src/main/java/org/mage/plugins/card/info/CardInfoPaneImpl.java +++ b/Mage.Plugins/Mage.Card.Plugin/src/main/java/org/mage/plugins/card/info/CardInfoPaneImpl.java @@ -75,9 +75,12 @@ public class CardInfoPaneImpl extends JEditorPane implements CardInfoPane { } rulings.add(sb.toString()); } + int damage = ((PermanentView)card).getDamage(); + if (damage > 0) { + rulings.add("Damage dealt: " + damage + ""); + } } - boolean smallImages = true; int fontSize = 11;