This commit is contained in:
tool4EvEr
2023-09-19 17:17:56 +02:00
parent fff528291a
commit f33bf7989d
2 changed files with 4 additions and 4 deletions

View File

@@ -411,7 +411,7 @@ public class CostAdjustment {
minMana = Integer.valueOf(staticAbility.getParam("MinMana"));
}
final int maxReduction = Math.max(0, manaCost.getConvertedManaCost() - minMana - sumReduced);
final int maxReduction = manaCost.getConvertedManaCost() - minMana - sumReduced;
if (maxReduction > 0) {
return Math.min(value, maxReduction);
}