From 5c8acadb5d77dd68ecd92bcf7cc5b6b89114ab89 Mon Sep 17 00:00:00 2001 From: Agetian Date: Sun, 9 Sep 2018 18:58:04 +0300 Subject: [PATCH] - Minor correction to match the expected result per description. --- forge-ai/src/main/java/forge/ai/PlayerControllerAi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-ai/src/main/java/forge/ai/PlayerControllerAi.java b/forge-ai/src/main/java/forge/ai/PlayerControllerAi.java index a322cd63674..035b32a18d7 100644 --- a/forge-ai/src/main/java/forge/ai/PlayerControllerAi.java +++ b/forge-ai/src/main/java/forge/ai/PlayerControllerAi.java @@ -302,7 +302,7 @@ public class PlayerControllerAi extends PlayerController { // TODO: Currently this logic uses the same routine as Scry. Possibly differentiate this and implement // a specific logic for Surveil (e.g. maybe to interact better with Reanimator strategies etc.). - if (getPlayer().getCardsIn(ZoneType.Hand).size() < getAi().getIntProperty(AiProps.SURVEIL_NUM_CARDS_IN_LIBRARY_TO_BAIL)) { + if (getPlayer().getCardsIn(ZoneType.Hand).size() <= getAi().getIntProperty(AiProps.SURVEIL_NUM_CARDS_IN_LIBRARY_TO_BAIL)) { toTop.addAll(topN); } else { for (Card c : topN) {