AI: fixed isCounterable canPayCost

This commit is contained in:
Hanmac
2018-05-10 15:44:23 +02:00
parent 058aabb666
commit 852e12c903

View File

@@ -447,7 +447,7 @@ public class ComputerUtilCost {
// Check for stuff like Nether Void
int extraManaNeeded = 0;
if (sa instanceof Spell) {
final boolean cannotBeCountered = CardFactoryUtil.isCounterable(sa.getHostCard());
final boolean cannotBeCountered = !CardFactoryUtil.isCounterable(sa.getHostCard());
for (Card c : player.getGame().getCardsIn(ZoneType.Battlefield)) {
final String snem = c.getSVar("AI_SpellsNeedExtraMana");
if (!StringUtils.isBlank(snem)) {