forked from External/mage
Cascade and other "cast spell without paying" abilities - added card popup support for casting card (closes #11355)
This commit is contained in:
parent
1dc040a2c9
commit
6e3fe7ec46
3 changed files with 4 additions and 7 deletions
|
|
@ -1377,10 +1377,9 @@ public final class CardUtil {
|
|||
List<Card> partsToCast = cardMap.get(cardToCast.getId());
|
||||
String partsInfo = partsToCast
|
||||
.stream()
|
||||
.map(MageObject::getIdName)
|
||||
.map(MageObject::getLogName)
|
||||
.collect(Collectors.joining(" or "));
|
||||
if (cardToCast == null
|
||||
|| partsToCast.size() < 1
|
||||
if (partsToCast.size() < 1
|
||||
|| !player.chooseUse(
|
||||
Outcome.PlayForFree, "Cast spell without paying its mana cost (" + partsInfo + ")?", source, game
|
||||
)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue