Merge branch 'activateForCost' into 'master'

Improve activateForCost

See merge request core-developers/forge!5901
This commit is contained in:
Michael Kamensky
2021-11-30 10:48:04 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1323,7 +1323,7 @@ public class ComputerUtil {
} else if (sa.isPwAbility() && ai.getGame().getPhaseHandler().is(PhaseType.MAIN2)) {
for (final CostPart part : abCost.getCostParts()) {
if (part instanceof CostPutCounter) {
return true;
return part.convertAmount() == null || part.convertAmount() > 0 || ai.isCardInPlay("Carth the Lion");
}
}
}

View File

@@ -379,7 +379,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
list = CardLists.getValidCards(list, type, source.getController(), source, sa);
}
if (!activateForCost || list.isEmpty()) {
if (!activateForCost && list.isEmpty()) {
return false;
}
if ("Atarka's Command".equals(sourceName)