visua0 / Melvor-Idle-Combat-Simulator-Reloaded

A browser extension for the game Melvor Idle
GNU General Public License v3.0
54 stars 23 forks source link

incorrect food values #69

Closed gmiclotte closed 2 years ago

gmiclotte commented 2 years ago

2021-10-08_14-10

misharp commented 2 years ago

Looks like this is coming from the value calculated by Melvor Idle itself. In the items array, Chicken Soup has a healing value of 11, where the Perfect Chicken Soup has a healing value of 12.100000000000001. Just tested and 11 * 1.1 with javascript returns that number... thanks javascript...

@gmiclotte I'd be happy to submit a PR that rounds it where you display it if you think that's an ok fix. Can I create a branch here or should I fork the repo? What branch would you like me to create the PR to?

gmiclotte commented 2 years ago

@misharp That'd be great, thanks! Easiest would be if you fork the repo and make a PR to the master branch.

gmiclotte commented 2 years ago

fixed in v1.6.1