small change to card type hints

This commit is contained in:
Evan Kranzler 2020-09-06 20:04:09 -04:00
parent 3b3f724c61
commit 263dd89385
2 changed files with 4 additions and 0 deletions

View file

@ -111,7 +111,9 @@ enum NighthawkScavengerHint implements Hint {
.flatMap(Collection::stream)
.map(MageObject::getCardType)
.flatMap(Collection::stream)
.distinct()
.map(CardType::toString)
.sorted()
.reduce((s1, s2) -> s1 + ", " + s2)
.orElse("None");
return "Card types in opponents' graveyards: " + types;

View file

@ -99,7 +99,9 @@ enum TarmogoyfHint implements Hint {
.flatMap(Collection::stream)
.map(MageObject::getCardType)
.flatMap(Collection::stream)
.distinct()
.map(CardType::toString)
.sorted()
.reduce((s1, s2) -> s1 + ", " + s2)
.orElse("None");
return "Card types in graveyards: " + types;