forked from External/mage
Displaying tooltips and green arrows for paired creatures
This commit is contained in:
parent
36c2b240fb
commit
1bf0e216de
4 changed files with 37 additions and 42 deletions
|
|
@ -57,6 +57,9 @@ public class CardInfoPaneImpl extends JEditorPane implements CardInfoPane {
|
|||
List<String> rulings = new ArrayList<String>(rules);
|
||||
|
||||
if (card instanceof PermanentView) {
|
||||
if (card.getPairedCard() != null) {
|
||||
rulings.add("<span color='green'><i>Paired with another creature</i></span>");
|
||||
}
|
||||
List<CounterView> counters = ((PermanentView) card).getCounters();
|
||||
int count = counters != null ? counters.size() : 0;
|
||||
if (count > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue