mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- The AI will no longer try to use convoke (it was completely useless anyway).
This commit is contained in:
@@ -757,20 +757,8 @@ public class ManaCostBeingPaid {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO: AI to choose a creature to tap would go here
|
// TODO: AI to choose a creature to tap would go here
|
||||||
// Probably along with deciding how many creatures to
|
// Probably along with deciding how many creatures to tap
|
||||||
// tap
|
break;
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
untappedCreats.remove(workingCard);
|
untappedCreats.remove(workingCard);
|
||||||
|
|||||||
Reference in New Issue
Block a user