mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- ChooseCardNameEffect changes for Council of the Absolute
This commit is contained in:
@@ -72,7 +72,12 @@ public class ChooseCardNameEffect extends SpellAbilityEffect {
|
|||||||
Predicate<CardPrinted> cpp = Predicates.compose(Predicates.not(CardRulesPredicates.Presets.IS_BASIC_LAND), CardPrinted.FN_GET_RULES);
|
Predicate<CardPrinted> cpp = Predicates.compose(Predicates.not(CardRulesPredicates.Presets.IS_BASIC_LAND), CardPrinted.FN_GET_RULES);
|
||||||
cards = Lists.newArrayList(Iterables.filter(cards, cpp));
|
cards = Lists.newArrayList(Iterables.filter(cards, cpp));
|
||||||
}
|
}
|
||||||
if ( StringUtils.containsIgnoreCase(valid, "creature") )
|
if ( StringUtils.containsIgnoreCase(valid, "noncreature") )
|
||||||
|
{
|
||||||
|
Predicate<CardPrinted> cpp = Predicates.compose(Predicates.not(CardRulesPredicates.Presets.IS_CREATURE), CardPrinted.FN_GET_RULES);
|
||||||
|
cards = Lists.newArrayList(Iterables.filter(cards, cpp));
|
||||||
|
}
|
||||||
|
else if ( StringUtils.containsIgnoreCase(valid, "creature") )
|
||||||
{
|
{
|
||||||
Predicate<CardPrinted> cpp = Predicates.compose(CardRulesPredicates.Presets.IS_CREATURE, CardPrinted.FN_GET_RULES);
|
Predicate<CardPrinted> cpp = Predicates.compose(CardRulesPredicates.Presets.IS_CREATURE, CardPrinted.FN_GET_RULES);
|
||||||
cards = Lists.newArrayList(Iterables.filter(cards, cpp));
|
cards = Lists.newArrayList(Iterables.filter(cards, cpp));
|
||||||
|
|||||||
Reference in New Issue
Block a user