mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix ignoring Guardian Beast
This commit is contained in:
@@ -509,7 +509,8 @@ public class HumanCostDecision extends CostDecisionMakerBase {
|
||||
int c = cost.getAbilityAmount(ability);
|
||||
|
||||
final CardCollectionView list = player.getCardsIn(ZoneType.Battlefield);
|
||||
final CardCollectionView validCards = CardLists.getValidCards(list, cost.getType().split(";"), player, source, ability);
|
||||
CardCollectionView validCards = CardLists.getValidCards(list, cost.getType().split(";"), player, source, ability);
|
||||
validCards = CardLists.filter(validCards, crd -> crd.canBeControlledBy(player));
|
||||
|
||||
final InputSelectCardsFromList inp = new InputSelectCardsFromList(controller, c, validCards, ability);
|
||||
final String desc = cost.getTypeDescription() == null ? cost.getType() : cost.getTypeDescription();
|
||||
|
||||
Reference in New Issue
Block a user