- A little more work on combat tricks.

This commit is contained in:
Agetian
2018-11-11 18:00:29 +03:00
parent 03571f3466
commit 7b18df3730

View File

@@ -1492,7 +1492,7 @@ public class ComputerUtilCard {
}
}
boolean wantToHoldTrick = holdCombatTricks;
boolean wantToHoldTrick = holdCombatTricks && !ai.getCardsIn(ZoneType.Hand).isEmpty();
if (chanceToHoldCombatTricks >= 0) {
// Obey the chance specified in the AI profile for holding combat tricks
wantToHoldTrick &= MyRandom.percentTrue(chanceToHoldCombatTricks);