mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- greatestCMC property shouldn't be filtering by creatures
This commit is contained in:
@@ -4842,7 +4842,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
} else if (property.startsWith("greatestCMC")) {
|
||||
CardCollectionView cards = CardLists.filter(game.getCardsIn(ZoneType.Battlefield), Presets.CREATURES);
|
||||
CardCollectionView cards = game.getCardsIn(ZoneType.Battlefield);
|
||||
if (property.contains("ControlledBy")) {
|
||||
FCollectionView<Player> p = AbilityUtils.getDefinedPlayers(source, property.split("ControlledBy")[1], null);
|
||||
cards = CardLists.filterControlledBy(cards, p);
|
||||
|
||||
Reference in New Issue
Block a user