mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
clean up
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user