mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Merge branch 'costdreams' into 'master'
Fix Devastating Dreams Cost See merge request core-developers/forge!4187
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