mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
normalize "*+" for Consuming Blob and token
This commit is contained in:
@@ -110,6 +110,7 @@ final class CardFace implements ICardFace {
|
||||
if (val.contains("*")) {
|
||||
val = val.replace("+*", "");
|
||||
val = val.replace("-*", "");
|
||||
val = val.replace("*+", "");
|
||||
val = val.replace("*", "0");
|
||||
}
|
||||
return Integer.parseInt(val);
|
||||
|
||||
Reference in New Issue
Block a user