mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Little AI tweak for X costs in AF Mill.
- Updated SVars of some cards with X costs.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user