mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix generating mana from negative amount
This commit is contained in:
@@ -643,7 +643,7 @@ public final class GameActionUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final StringBuilder sb = new StringBuilder();
|
final StringBuilder sb = new StringBuilder();
|
||||||
if (amount == 0) {
|
if (amount <= 0) {
|
||||||
sb.append("0");
|
sb.append("0");
|
||||||
} else if (abMana.isComboMana()) {
|
} else if (abMana.isComboMana()) {
|
||||||
// amount is already taken care of in resolve method for combination mana, just append baseMana
|
// amount is already taken care of in resolve method for combination mana, just append baseMana
|
||||||
|
|||||||
Reference in New Issue
Block a user