mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Added Morph ability.
This commit is contained in:
parent
b1de70a3bf
commit
d244551e3b
45 changed files with 929 additions and 191 deletions
|
|
@ -6,6 +6,7 @@ import java.util.ArrayList;
|
|||
import javax.swing.JButton;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.SwingConstants;
|
||||
import mage.client.cards.Permanent;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.MageObjectType;
|
||||
|
|
@ -221,7 +222,11 @@ public class GuiDisplayUtil {
|
|||
buffer.append(pt).append("</b></td>");
|
||||
buffer.append("<td align='right'>");
|
||||
if (!card.isControlledByOwner()) {
|
||||
buffer.append("[only controlled] ");
|
||||
if (card instanceof PermanentView) {
|
||||
buffer.append("[").append(((PermanentView) card).getNameOwner()).append("] ");
|
||||
} else {
|
||||
buffer.append("[only controlled] ");
|
||||
}
|
||||
}
|
||||
buffer.append(card.getMageObjectType().toString()).append("</td>");
|
||||
buffer.append("</tr></table>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue