- Little AI tweak for X costs in AF Mill.

- Updated SVars of some cards with X costs.
This commit is contained in:
Sloth
2011-11-24 11:46:05 +00:00
parent d0f8b260b0
commit a2a15e2c4f
9 changed files with 8 additions and 6 deletions

View File

@@ -783,6 +783,9 @@ public class AbilityFactoryZoneAffecting {
final int cardsToDiscard = Math.min(ComputerUtil.determineLeftoverMana(sa), AllZone.getHumanPlayer()
.getCardsIn(Constant.Zone.Library).size());
source.setSVar("PayX", Integer.toString(cardsToDiscard));
if (cardsToDiscard <= 0) {
return false;
}
}
return randomReturn;