- Little AI tweak in AF Draw.

This commit is contained in:
Sloth
2012-06-25 21:20:24 +00:00
parent 3ef3469016
commit 86162f4f9c

View File

@@ -481,7 +481,8 @@ public class AbilityFactoryZoneAffecting {
} }
if (((computerHandSize + numCards) > computerMaxHandSize) 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 // Don't draw too many cards and then risk discarding cards at
// EOT // EOT
if (!(params.containsKey("NextUpkeep") || (sa instanceof AbilitySub)) && !mandatory) { if (!(params.containsKey("NextUpkeep") || (sa instanceof AbilitySub)) && !mandatory) {