Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rare attributes do not support decimals #21

Open
GreenJoson opened this issue Nov 17, 2022 · 2 comments
Open

Rare attributes do not support decimals #21

GreenJoson opened this issue Nov 17, 2022 · 2 comments

Comments

@GreenJoson
Copy link

Hello, I have many layers of each element, the hat has 60, the back has 64, hair has 25, clothes have 65, how do I set the rare attributes, if the hat needs to set which rare 5 elements, background 1 rare, clothes 3 rare, so how to change the name is correct~

At first I thought it supported decimals, so I set them all to decimal points. Using 100/64 layers like this, I got the approximate average

@GreenJoson
Copy link
Author

image
Then I found out that he doesn't support decimals and reports an error~

image
100/64
image
I want to set 63 normal and 1 rare
So I'm thinking 1.58*63+0.46 = 100
But it seems a little naive to think

@GreenJoson
Copy link
Author

Done, changed the int() to eval(), generated no more problems, can use decimals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant