forked from External/mage
[ZNR] Improved modal double faces cards in GUI (#7012)
This commit is contained in:
parent
02e19f0a3f
commit
4893c5b1ac
11 changed files with 156 additions and 87 deletions
|
|
@ -178,6 +178,12 @@ public class Spell extends StackObjImpl implements Card {
|
|||
+ " as Adventure spell of " + GameLog.getColoredObjectIdName(adventureCard);
|
||||
}
|
||||
|
||||
if (card instanceof ModalDoubleFacesCardHalf) {
|
||||
ModalDoubleFacesCard mdfCard = (ModalDoubleFacesCard) card.getMainCard();
|
||||
return GameLog.replaceNameByColoredName(card, getSpellAbility().toString(), mdfCard)
|
||||
+ " as mdf side of " + GameLog.getColoredObjectIdName(mdfCard);
|
||||
}
|
||||
|
||||
return GameLog.replaceNameByColoredName(card, getSpellAbility().toString());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue