From 12bde72a8bf98f839631f1d7540d475427dc346a Mon Sep 17 00:00:00 2001 From: Sloth Date: Mon, 4 Mar 2013 22:51:37 +0000 Subject: [PATCH] - Fixed AI not using AnyMana sources for Hybrid mana. --- src/main/java/forge/game/ai/ComputerUtilMana.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/forge/game/ai/ComputerUtilMana.java b/src/main/java/forge/game/ai/ComputerUtilMana.java index c7f4542b3d1..cf8f1572d65 100644 --- a/src/main/java/forge/game/ai/ComputerUtilMana.java +++ b/src/main/java/forge/game/ai/ComputerUtilMana.java @@ -138,7 +138,7 @@ public class ComputerUtilMana { } else { m.setExpressChoice("0"); } - } + } // check if ability produces any color else if (m.isAnyMana()) { String colorChoice = costParts[nPart]; @@ -156,7 +156,7 @@ public class ComputerUtilMana { break; } } - } else if (costParts[nPart].contains("/")) { + } else if (costParts[nPart].contains("2/")) { colorChoice = costParts[nPart].replace("2/", ""); } else if (costParts[nPart].length() > 1) { colorChoice = costParts[nPart].substring(0, 1);