mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
same as previous
This commit is contained in:
@@ -300,7 +300,7 @@ public class AbilityUtils {
|
|||||||
// Strip and save sign for calculations
|
// Strip and save sign for calculations
|
||||||
boolean startsWithMinus = amount.charAt(0) == '-';
|
boolean startsWithMinus = amount.charAt(0) == '-';
|
||||||
int multiplier = startsWithMinus ? -1 : 1;
|
int multiplier = startsWithMinus ? -1 : 1;
|
||||||
if(startsWithPlus )
|
if(startsWithMinus)
|
||||||
amount = amount.substring(1);
|
amount = amount.substring(1);
|
||||||
|
|
||||||
// These are some special cases - who is implementing them?
|
// These are some special cases - who is implementing them?
|
||||||
|
|||||||
Reference in New Issue
Block a user