mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- One more addition/cleanup in SpecialCardAi.
This commit is contained in:
@@ -349,7 +349,7 @@ public class SpecialCardAi {
|
||||
ManaCost cost = testSa.getPayCosts().getTotalMana();
|
||||
byte colorProfile = cost.getColorProfile();
|
||||
|
||||
if ((cost.getCMC() == 0)) {
|
||||
if (cost.getCMC() == 0 && cost.countX() == 0) {
|
||||
// no mana cost, no need to activate this SA then (additional mana not needed)
|
||||
continue;
|
||||
} else if (colorProfile != 0 && (cost.getColorProfile() & MagicColor.fromName(prominentColor)) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user