- Commander is no longer using Partial Paris

This commit is contained in:
Sol
2016-03-03 04:28:01 +00:00
parent d290b775c1
commit 36bc3dac4a
7 changed files with 14 additions and 42 deletions

View File

@@ -1477,6 +1477,7 @@ public class ComputerUtil {
}
public static CardCollection getPartialParisCandidates(Player ai) {
// Commander no longer uses partial paris.
final CardCollection candidates = new CardCollection();
final CardCollectionView handList = ai.getCardsIn(ZoneType.Hand);

View File

@@ -369,17 +369,12 @@ public class PlayerControllerAi extends PlayerController {
}
@Override
public CardCollectionView getCardsToMulligan(boolean isCommander, Player firstPlayer) {
public CardCollectionView getCardsToMulligan(Player firstPlayer) {
if (!ComputerUtil.wantMulligan(player)) {
return null;
}
if (!isCommander) {
return player.getCardsIn(ZoneType.Hand);
}
else {
return ComputerUtil.getPartialParisCandidates(player);
}
return player.getCardsIn(ZoneType.Hand);
}
@Override