mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Fix Devastating Dreams Cost
This commit is contained in:
@@ -71,7 +71,9 @@ public class CostDiscard extends CostPartWithList {
|
||||
String type = this.getType();
|
||||
CardCollectionView handList = payer.canDiscardBy(ability) ? payer.getCardsIn(ZoneType.Hand) : CardCollection.EMPTY;
|
||||
|
||||
handList = CardLists.getValidCards(handList, type.split(";"), payer, source, ability);
|
||||
if (!type.equals("Random")) {
|
||||
handList = CardLists.getValidCards(handList, type.split(";"), payer, source, ability);
|
||||
}
|
||||
return handList.size();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user