What if i need to use decimal percentages on the rarities? #242
Unanswered
pietrociatta
asked this question in
Help + Q&A
Replies: 1 comment 1 reply
-
@pietrociatta thanks for the question, this comes up a lot. Decimals are not supported in file name's rarity weights. reminder,
to have a "decimal percent chance" for a given file, you can have the total weights add up to 1000. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to put like
Background#5.5
value, by changing toconst exp = /#(\d*\.\d{0,2})/;
But it seems not working, how can i use decimal value as rarities, also
0.3
for example.Beta Was this translation helpful? Give feedback.
All reactions