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

LibAavegotchi.xpUntilNextLevel will revert if _experience > ((currentLevel**2) * 50) #67

Open
solidigotchi opened this issue Mar 2, 2021 · 2 comments

Comments

@solidigotchi
Copy link

The max current level possible is 99.

If experience > 490050, then it exceeds max value of check, i.e. (99**2) * 50 = 490050.

@mudgen
Copy link
Member

mudgen commented Mar 2, 2021

Thanks, I need a little more info about this. why will it revert?

@mudgen
Copy link
Member

mudgen commented Mar 2, 2021

The max current level possible is 99.

If experience > 490050, then it exceeds max value of check, i.e. (99**2) * 50 = 490050.

I think I get it now, thanks.

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

2 participants