mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Missing !
This commit is contained in:
@@ -157,7 +157,7 @@ public class ComputerUtilCost {
|
||||
if ((!source.isInPlay()
|
||||
// We can't pay for this spell even if we play another land, or have wrong colors
|
||||
// TODO this is ugly, is there a procedure that can determine available mana instead of land count? Otherwise this ignores moxes and other sources!
|
||||
&& ((source.getCMC() > lands + 1) || (source.determineColor().hasNoColorsExcept(ColorSet.fromNames(getAvailableManaColors(ai, Lists.newArrayList())).getColor())))
|
||||
&& ((source.getCMC() > lands + 1) || (!source.determineColor().hasNoColorsExcept(ColorSet.fromNames(getAvailableManaColors(ai, Lists.newArrayList())).getColor())))
|
||||
// Don't discard more than 1 card
|
||||
&& (num == 1)
|
||||
)) {
|
||||
|
||||
Reference in New Issue
Block a user