mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
add comment
This commit is contained in:
@@ -1317,7 +1317,7 @@ public class CardProperty {
|
|||||||
}
|
}
|
||||||
} else if (property.startsWith("leastToughness")) {
|
} else if (property.startsWith("leastToughness")) {
|
||||||
CardCollectionView cards = CardLists.filter(game.getCardsIn(ZoneType.Battlefield), Presets.CREATURES);
|
CardCollectionView cards = CardLists.filter(game.getCardsIn(ZoneType.Battlefield), Presets.CREATURES);
|
||||||
if (property.contains("ControlledBy")) {
|
if (property.contains("ControlledBy")) { // 4/25/2023 only used for adventure mode Death Ring
|
||||||
FCollectionView<Player> p = AbilityUtils.getDefinedPlayers(source, property.split("ControlledBy")[1], spellAbility);
|
FCollectionView<Player> p = AbilityUtils.getDefinedPlayers(source, property.split("ControlledBy")[1], spellAbility);
|
||||||
cards = CardLists.filterControlledBy(cards, p);
|
cards = CardLists.filterControlledBy(cards, p);
|
||||||
if (!cards.contains(card)) {
|
if (!cards.contains(card)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user