Rarity

Rarity

17M Downloads

The percentage displayed on attempts seems to be off for items that are tracked repeatedly

rdw-software opened this issue ยท 0 comments

commented

Source: Discord

When farming a mount the text is showing something like "100 attempts - 10%"
If I wanna farm it multiple times it is now showing "100 attempts (200 total) - 20%"
Is there any way to keep the total but the percentage only tracking the current attempts ?

Hmm, I think it's an oversight? The code seems to account for last attempts by subtracting them, but it looks like the percentage is computed before that
Pinging Rubio since they submitted the PR. The lines I'm referring to are these (chance is calculated first, then item.lastAttempts is subtracted):

image


Just putting this here since I randomly saw it on Discord while searching for something unrelated, before I forget.