mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Don't warn about cards AI can't play when using simulation AI.
This commit is contained in:
@@ -1448,10 +1448,13 @@ public class AiController {
|
||||
|
||||
public Collection<? extends PaperCard> complainCardsCantPlayWell(Deck myDeck) {
|
||||
List<PaperCard> result = Lists.newArrayList();
|
||||
for (Entry<DeckSection, CardPool> ds : myDeck) {
|
||||
for (Entry<PaperCard, Integer> cp : ds.getValue()) {
|
||||
if (cp.getKey().getRules().getAiHints().getRemAIDecks())
|
||||
result.add(cp.getKey());
|
||||
// When using simulation, AI should be able to figure out most cards.
|
||||
if (!useSimulation) {
|
||||
for (Entry<DeckSection, CardPool> ds : myDeck) {
|
||||
for (Entry<PaperCard, Integer> cp : ds.getValue()) {
|
||||
if (cp.getKey().getRules().getAiHints().getRemAIDecks())
|
||||
result.add(cp.getKey());
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user