Fix playSpellAbilityWithoutPayingManaCost not checking amount modifiers

This commit is contained in:
tool4EvEr
2021-05-04 20:30:56 +02:00
parent bfc3157186
commit 4cd2bc266a

View File

@@ -280,7 +280,7 @@ public class ComputerUtil {
SpellAbility newSA = sa.copyWithNoManaCost();
newSA.setActivatingPlayer(ai);
if (!CostPayment.canPayAdditionalCosts(newSA.getPayCosts(), newSA)) {
if (!CostPayment.canPayAdditionalCosts(newSA.getPayCosts(), newSA) || !ComputerUtilMana.payManaCost(ai, newSA)) {
return false;
}