mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Improved getWorstLand AI.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user