- Little fix in AI_getMostExpensivePermanent (otherwise the AI will never choose lands or tokens).

This commit is contained in:
jendave
2011-08-06 13:49:47 +00:00
parent 59d6d735cd
commit 6d37c9933b

View File

@@ -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);