mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Show info in card tooltip of permanents if controller not equal owner.
This commit is contained in:
parent
825277bad9
commit
0468fe7299
2 changed files with 15 additions and 1 deletions
|
|
@ -158,7 +158,11 @@ public class CardInfoPaneImpl extends JEditorPane implements CardInfoPane {
|
|||
|
||||
buffer.append("<table cellspacing=0 cellpadding=0 border=0 width='100%' valign='bottom'><tr><td><b>");
|
||||
buffer.append(pt).append("</b></td>");
|
||||
buffer.append("<td align='right'>").append(card.getMageObjectType().toString()).append("</td>");
|
||||
buffer.append("<td align='right'>");
|
||||
if (!card.isControlledByOwner()) {
|
||||
buffer.append("[only controlled] ");
|
||||
}
|
||||
buffer.append(card.getMageObjectType().toString()).append("</td>");
|
||||
buffer.append("</tr></table>");
|
||||
|
||||
StringBuilder rule = new StringBuilder("<br/>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue