- Improved getWorstLand AI.

This commit is contained in:
Sloth
2013-06-01 17:50:37 +00:00
parent 712e356ae1
commit f296b18b01

View File

@@ -800,6 +800,7 @@ public class ComputerUtilCard {
for (Card tmp : lands) {
int score = tmp.isTapped() ? 2 : 0;
score += tmp.isBasicLand() ? 1 : 0;
score += tmp.isCreature() ? 4 : 0;
if (score >= maxScore) {
worstLand = tmp;
maxScore = score;