- The AI will no longer try to use convoke (it was completely useless anyway).

This commit is contained in:
Sloth
2013-05-04 21:00:45 +00:00
parent b85587038d
commit 18a4cfe5f7

View File

@@ -757,20 +757,8 @@ public class ManaCostBeingPaid {
}
} else {
// TODO: AI to choose a creature to tap would go here
// Probably along with deciding how many creatures to
// tap
if ( MyRandom.getRandom().nextInt(3) == 0 ) // 66% chance to chose first creature, 33% to cancel
workingCard = untappedCreats.get(0);
if( null == workingCard )
break; // that means "I'm done"
List<String> usableColors = getConvokableColors(workingCard);
if ( !usableColors.isEmpty() ) {
// TODO: AI for choosing which color to convoke goes here.
chosenColor = usableColors.get(0);
}
// Probably along with deciding how many creatures to tap
break;
}
untappedCreats.remove(workingCard);