mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Little AI tweak in AF Draw.
This commit is contained in:
@@ -481,7 +481,8 @@ public class AbilityFactoryZoneAffecting {
|
||||
}
|
||||
|
||||
if (((computerHandSize + numCards) > computerMaxHandSize)
|
||||
&& Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn().isComputer()) {
|
||||
&& Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn().isComputer()
|
||||
&& !sa.isTrigger()) {
|
||||
// Don't draw too many cards and then risk discarding cards at
|
||||
// EOT
|
||||
if (!(params.containsKey("NextUpkeep") || (sa instanceof AbilitySub)) && !mandatory) {
|
||||
|
||||
Reference in New Issue
Block a user