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

Math.floor() Calculation for 'Passive Training' leads to weird costs early on. #7

Open
Fargrim opened this issue Dec 16, 2015 · 0 comments
Labels

Comments

@Fargrim
Copy link
Collaborator

Fargrim commented Dec 16, 2015

e.g. in the autoCost() function: var autoCost = Math.floor(10 * Math.pow(1.1,passive));

Initial passive cost starts at 10. Cost then increments like this: [11, 12, 13, 14, 16, 17, 19, 21, 23, 25, 28, 31, 34, ...]

It isn't a huge problem overall, but it is a bit weird to have a cost go up by 1, then 2, then 1 again before finally staying constant or increases for further purchases.

@Fargrim Fargrim added the bug label Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant