This commit is contained in:
Anthony Calosa
2023-02-22 03:35:33 +08:00
parent eaf8348863
commit 9d91f404d2

View File

@@ -50,6 +50,7 @@ import forge.game.player.Player;
import forge.game.player.PlayerActionConfirmMode; import forge.game.player.PlayerActionConfirmMode;
import forge.game.replacement.ReplaceMoved; import forge.game.replacement.ReplaceMoved;
import forge.game.replacement.ReplacementEffect; import forge.game.replacement.ReplacementEffect;
import forge.game.replacement.ReplacementLayer;
import forge.game.replacement.ReplacementType; import forge.game.replacement.ReplacementType;
import forge.game.spellability.*; import forge.game.spellability.*;
import forge.game.staticability.StaticAbility; import forge.game.staticability.StaticAbility;
@@ -477,8 +478,6 @@ public class AiController {
// If nothing is done here, proceeds to the default land picking strategy // If nothing is done here, proceeds to the default land picking strategy
} }
return ComputerUtilCard.getBestLandToPlayAI(landList);
/*
//Skip reflected lands. //Skip reflected lands.
CardCollection unreflectedLands = new CardCollection(landList); CardCollection unreflectedLands = new CardCollection(landList);
for (Card l : landList) { for (Card l : landList) {
@@ -577,7 +576,7 @@ public class AiController {
landList = CardLists.filter(landList, Predicates.not(CardPredicates.Presets.BASIC_LANDS)); landList = CardLists.filter(landList, Predicates.not(CardPredicates.Presets.BASIC_LANDS));
} }
} }
return landList.get(0);*/ return ComputerUtilCard.getBestLandToPlayAI(landList);
} }
// if return true, go to next phase // if return true, go to next phase