mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed AI not using AnyMana sources for Hybrid mana.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user