forked from External/mage
[DSK] Implement Hauntwoods Shrieker, added support to reveal face down permanents (#13277)
* [DSK] Implement Hauntwoods Shrieker. * Change RevealedView and PlayerImpl.revealCards to reveal face-down permanents. * Fix #13273 using the new RevealCards capability.
This commit is contained in:
parent
89be55c816
commit
145bda842b
7 changed files with 123 additions and 10 deletions
|
|
@ -1910,7 +1910,11 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
int last = cards.size();
|
||||
for (Card card : cards.getCards(game)) {
|
||||
current++;
|
||||
sb.append(GameLog.getColoredObjectName(card)); // TODO: see same usage in OfferingAbility for hide card's id (is it needs for reveal too?!)
|
||||
if (card instanceof PermanentCard && card.isFaceDown(game)) {
|
||||
sb.append(GameLog.getColoredObjectName(card.getMainCard()));
|
||||
} else {
|
||||
sb.append(GameLog.getColoredObjectName(card)); // TODO: see same usage in OfferingAbility for hide card's id (is it needs for reveal too?!)
|
||||
}
|
||||
if (current < last) {
|
||||
sb.append(", ");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue