mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Little fix in AI_getMostExpensivePermanent (otherwise the AI will never choose lands or tokens).
This commit is contained in:
@@ -236,7 +236,7 @@ public class CardFactoryUtil {
|
||||
{
|
||||
int curCMC = CardUtil.getConvertedManaCost(all.get(i).getManaCost());
|
||||
|
||||
if (curCMC > bigCMC)
|
||||
if (curCMC >= bigCMC)
|
||||
{
|
||||
bigCMC = curCMC;
|
||||
biggest = all.get(i);
|
||||
|
||||
Reference in New Issue
Block a user